Saudi Arabia has no criminal code and the primary source of law in the country is the Islamic Sharia, derived from the seventh-century Quran and the traditions of Muhammad contained in the Sunnah.
LGBT rights are not recognized by the government of Saudi Arabia. Both male and female same-sex sexual activity is illegal. Lesbian, gay, bisexual, transgender ( LGBT) people in Saudi Arabia face severe repression and legal challenges not experienced by non- LGBT residents. Capital punishment, fines, public whipping, beatings, vigilante attacks, vigilante executions, torture, chemical castrations, imprisonment up to life and deportation.