Homosexuality and transgenderism are widely seen as immoral and indecent activities, and the law punishes acts of homosexuality or cross-dressing with punishments ranging from fines, floggings, to life in prison, death, and torture. Traditionally, the legal system of Saudi Arabia has consisted of royal decrees and the legal opinions of Islamic judges and clerics, and is not based on legal codes and written law.
Much subsequent written law has focused on business and foreign relations.
Persons caught living in the kingdom illegally are often accused of other crimes, involving illegal drugs, pornography, prostitution and homosexuality.
Several such police crackdowns were reported in 2004–2005.
Likewise, on 7 November 2005 Riyadh police raided what the Saudi press called a "beauty contest for gay men" at al-Qatif.
According to the official report, the men were caught cross-dressing, wearing ladies makeup and trying to pick up other men.He was subsequently convicted and sentenced to a long prison term.According to the prosecutor, the Prince sexually and physically abused his servant as well as paid other men for sexual services.International protests from human rights organizations prompted some Saudi officials within the Saudi Arabian embassy in Washington D. to unofficially and incorrectly imply that their kingdom will only use the death penalty when someone has been convicted of child molestation, rape, sexual assault, murder or engaging in anything deemed to be a form of political advocacy.In 2010, Prince Saud bin Abdulaziz bin Nasir al Saud was charged with the murder of his male companion while on holiday in London.Recent reports of people being executed for homosexuality often add other charges to the offense, typically theft, rape or murder.For example, a gay Yemeni was executed for homosexuality and murder in 2013.LGBT rights are not recognized by the government of Saudi Arabia.The Saudi social mores and laws are heavily influenced by Arab tribal customs and ultra-conservative Wahhabi Islam.Lesbian, gay, bisexual, and transgender (LGBT) persons in Saudi Arabia face legal challenges not experienced by non-LGBT residents, and Saudi Arabia is considered to have one of the worst LGBT rights records in the world.Both male and female same-sex sexual activity is illegal.