Homosexuality & Gender Non-Conformity
This page details primary Quranic verses, canonical Hadith traditions, and classical jurisprudential rulings concerning same-sex sexual acts (liwat and sahaq), gender non-conformity (mukhannathun), and prescribed legal penalties. Each text is presented with its original Arabic, English translation, source links, and an objective academic context.
Capital Punishment Mandates in Hadith
While the Quran condemns the actions of Lot's people, canonical Hadith collections record explicit legal rulings from Muhammad prescribing capital punishment for individuals who engage in same-sex sexual acts.
Sunan Abi Dawud 4462 — Execution Mandate for Homosexual Acts
Narrated Ibn 'Abbas: The Prophet (ﷺ) said: "If you find anyone doing as Lot’s people did, kill the one who does it, and the one to whom it is done."
— Sunan Abi Dawud, Book 40, Hadith 112This is the primary prophetic tradition mandating capital punishment for male homosexual acts. It commands execution of both partners — "the doer and the receiver." Classical Sunni schools (Hanbali, Shafi'i, and Maliki) cite this as foundational proof for the death penalty for sodomy.
Jami` at-Tirmidhi 1456 — Prophetic Command to Kill Doer and Receiver of Same-Sex Acts
Narrated Ibn 'Abbas: "The Messenger of Allah (ﷺ) said: Whoever you find doing the action of the people of Lut, kill the one who does it, and the one to whom it is done."
— Jami` at-Tirmidhi, Book 17, Hadith 40A parallel narration reinforcing the same execution mandate. Medieval hadith scholars evaluated its chain of transmission, and major juristic compilations used it to classify sodomy as a severe hadd offence (a fixed, divinely ordained punishment).
Quranic Passages & Story of Lot
The Quran addresses same-sex sexual activity primarily through the narrative of the People of Lot (Qawm Lut) and early Medinan verses legislating against sexual immorality (fahishah).
Quran 7:80–81 — Story of Lot and Condemnation of Male Same-Sex Desire
"And [We had sent] Lot when he said to his people, "Do you commit such immorality as no one has preceded you with from among the worlds [i.e., peoples]?"
— Saheeh InternationalThese verses establish the Quranic narrative regarding the people of Sodom. Framing male same-sex desire as an unprecedented "shamefulness" and transgression forms the primary scriptural foundation for Islamic prohibitions against male homosexuality.
Quran 4:15 — Confinement Penalty for Immoral Women
"Those who commit immorality [i.e., unlawful sexual intercourse] of your women - bring against them four [witnesses] from among you. And if they testify, confine them [i.e., the guilty women] to houses until death takes them or Allāh ordains for them [another] way."
— Saheeh InternationalThis verse prescribes an early Medinan penalty for women who commit sexual immorality: life house arrest. Classical commentators note this originally applied to illicit sexual acts — including, according to some jurists, female-female sexual conduct — before being supplemented or replaced by the 100 lashes ruling in Quran 24:2.
Quran 4:16 — Punishment for Men Who Commit Unlawful Sexual Acts
"And the two who commit it [i.e., unlawful sexual intercourse] among you - punish [i.e., dishonor] them both. But if they repent and correct themselves, leave them alone. Indeed, Allāh is ever Accepting of Repentance and Merciful."
— Saheeh InternationalFollowing verse 15, this addresses male pairs who engage in sexual immorality, commanding verbal or physical punishment. Classical exegetes interpret this as referring either to unmarried male-female adultery or specifically to male same-sex acts before the hadith-based penalties were codified.
Gender Non-Conformity & Expulsion
Islamic canonical Hadiths address gender expression, specifically cursing individuals who assume the appearance or manners of the opposite biological sex and ordering their banishment from society.
Sahih al-Bukhari 5885 — Cursing and Banishment of Effeminate Men and Masculine Women
Narrated Ibn 'Abbas: "The Prophet (ﷺ) cursed effeminate men (those men who assume the manners of women) and those women who assume the manners of men, and he said, 'Turn them out of your houses.' The Prophet turned out such-and-such man, and 'Umar turned out such-and-such woman."
— Sahih al-Bukhari, Book 77, Hadith 101This hadith records Muhammad pronouncing a curse on effeminate men and masculine women, and ordering them expelled from homes. Both Muhammad and Umar carried out such banishments. The ruling targets gender expression and appearance, not sexual acts.
Classical Jurisprudence & Juristic Opinions
Early jurists and legal compendiums established legal consensus (*ijma'*) regarding the prohibition of sodomy, while debating the specific method of execution (stoning, burning, throwing from heights, or beheading).
Muwatta Malik 41.11 — Stoning Penalty for Sodomy
Malik related to me that he asked Ibn Shihab al-Zuhri about someone who committed sodomy. Ibn Shihab said: "He is to be stoned, whether or not he is married (muhsan)."
— Muwatta Malik, Book 41, Hadith 11Recorded in the Muwatta of Imam Malik — one of the earliest Islamic legal collections — the prominent scholar Ibn Shihab al-Zuhri states that anyone who commits sodomy must be stoned to death, whether married or unmarried. This distinguishes sodomy from general adultery, applying the maximum penalty unconditionally.