Q7
Is leaving Islam punishable by death?
The question, at its strongest
"Your most trusted hadith book reports the Prophet saying, 'Whoever changes his religion, kill him.' It does not say 'whoever betrays the state.' Every Sunni school made that law, and jurists called it consensus. People are still sentenced under such laws, and in Pew's 2013 survey 86% of Egyptian Muslims who back sharia supported executing apostates. The 'treason' reading looks like a recent invention made under Western pressure. If Islam is true, why would God threaten my life for honestly concluding it is not?"
Why people ask it
People who doubt ask because their own safety and their family relationships may depend on the answer. Outsiders see this as the clearest test of whether Islam accepts freedom of conscience. Students ask because the textual case for the classical ruling is strong, and they want to know whether the reformist case is honest scholarship.
Short answer
All four Sunni schools held that an adult, sane man who leaves Islam and refuses to return is to be executed after being asked to repent. They base this on authentic hadith, so the ruling is not a late invention. Three schools apply it to women too; the Hanafis imprison women instead. A minority of early figures reportedly did not support execution: ʿUmar, Ibrahim al-Nakhaʿi and Sufyan al-Thawri. Some modern scholars argue that the Prophet (pbuh) never executed anyone only for changing belief, and that the hadith targeted apostasy joined with hostility to the community; Taha Jabir Alalwani holds this view, and so did Ali Gomaa in 2007, though his wording was later disputed. That reading is serious but contested, because the words of the hadith are general. Doubting is not a crime, and someone who doubts has not left Islam.
The full answer
8min read
What the Quran says
The Quran condemns apostasy severely but names no worldly punishment for it. Verse 2:217 warns that whoever "reverts from his religion [to disbelief] and dies while he is a disbeliever – for those, their deeds have become worthless in this world and the Hereafter". Alalwani surveyed every Quranic use of ridda and concludes that "None of the verses… makes any mention of an earthly punishment for the sin or crime of apostasy". He adds that the Quran "refers to individuals repeatedly returning to unbelief after having believed, but does not mention that they should be killed" (ch. 2). Reformists also rely on 2:256: "There shall be no compulsion in [acceptance of] the religion."
Limit: Jurists held that the Sunna can add rulings the Quran does not state. Alalwani records that al-Shafiʿi read 2:217, 8:39, 9:5 and 39:65 together in support of the death penalty.
What the Prophet (pbuh) taught
Two authentic hadith carry the legal weight. The first is narrated by ʿIkrima. ʿAli had burnt some people, and Ibn ʿAbbas said: "Had I been in his place I would not have burnt them… No doubt, I would have killed them, for the Prophet said, 'If somebody (a Muslim) discards his religion, kill him'" (Bukhārī 3017 Ṣaḥīḥ (sound); parallel Bukhārī 6922 Ṣaḥīḥ (sound), where the people are called zanādiqa, hidden heretics). Both are sahih by inclusion in al-Bukhari. The second is the "three cases" hadith from Ibn Masʿud (ra): a Muslim's blood "cannot be shed except in three cases: In Qisas for murder, a married person who commits illegal sexual intercourse and the one who reverts from Islam (apostate) and leaves the Muslims" (Bukhārī 6878 Ṣaḥīḥ (sound); Muslim 1676 Ṣaḥīḥ (sound)). In Arabic the third case is al-tārik li-l-jamāʿa, "abandoning the community".
Did the Prophet (pbuh) ever execute anyone only for leaving Islam? Alalwani: "never in his entire life did the Prophet put an apostate to death". He argues that reported killings were "due to the individuals' participation in war crimes or murder, not due to their apostasy" (ch. 3). The men of ʿUrayna, for example, killed a herdsman and stole camels. Two further points support this. Many people who left after the Night Journey were not harmed. And the Treaty of Hudaybiyya let anyone who left the Muslim camp return to Quraysh "freely without reprisal".
Limit: This is partly an argument from silence, and it does not remove the general wording. The cases at the conquest of Mecca (Ibn Khatal, Ibn Abi Sarh) have not yet been checked.
How scholars have understood it
The "treason" reading is a reading of context, not of the words, and should be judged that way. The skeptic is right that the hadith says "changes his religion." The reformist case rests on three arguments:
- The Prophet's (pbuh) practice: no recorded execution for belief alone.
- The companion hadith: it joins leaving the religion to abandoning the jamāʿa, and in seventh-century Arabia the religious community was also the political and military one.
- The Medinan setting: Alalwani links the hadith to a "serious security situation" (33:60–62). He concludes: "if the hadith… is sound, he will have had this serious security situation in mind" (ch. 4). He also argues that later jurists absorbed Byzantine and Persian allegiance laws and "confused apostasy in the political sense with apostasy in the sense of a change in personal beliefs" (ch. 5).
How strong is it? It is moderately strong as history and weaker as a reading of the text. In its favour, the "community" clause is authentic, and the wars of ridda involved refusal of allegiance and zakāt. Against it, Ibn ʿAbbas himself applied the hadith to heretics who had only held beliefs, and the classical jurists read it generally despite knowing the context. Alalwani's point that the hadith is āḥād (a single-chain report) persuades only those who already restrict such reports.
Who questioned execution early? Alalwani names "Companions ʿUmar ibn al-Khattab…, Ibrahim al-Nakhaʿi…, and Sufyan al-Thawri", whose views "did not receive publicity" (ch. 1). The usual basis for ʿUmar is the Muwatta report (no. 1420). Told that an apostate had been killed at once, he asked, "Didn't you imprison him for three days… and call on him to tawba?" and said, "I am not pleased." Limit: This shows that ʿUmar required a chance to repent, not that he rejected execution. Ibn Qudama in fact lists al-Nakhaʿi among those who held that the apostate is killed. The dissents are thinly documented.
Who holds the "not for belief alone" view today?
- Taha Jabir Alalwani (1935–2016, Azhar-trained jurist): apostasy without "anything else deemed a criminal act… remains strictly between God and the individual".
- Ali Gomaa (Grand Mufti of Egypt 2003–2013), writing in 2007: "can a person who is Muslim choose a religion other than Islam? The answer is yes… If the case in question is one of merely rejecting faith, then there is no worldly punishment." He still left a role for the courts where "undermining the foundations of the society" was involved. Gulf News (Ramadan Al Sherbini, 25 July 2007) then quoted him: "What I actually said is that Islam prohibits a Muslim from changing his religion and that apostasy is a crime, which must be punished." His position is real, but its wording is disputed.
- Mohammad Hashim Kamali and Tariq Ramadan: reported, with Alalwani, as holding that "the Qur'an does not prescribe a temporal punishment for apostasy" (secondary source).
- Abdullah and Hassan Saeed: argue similarly (secondary summary only).
The law: what the four schools hold
All four schools prescribe death for the unrepentant adult male apostate. They differ on the waiting period and on women. The waiting period is istitāba, the formal invitation to repent.
- Hanafi: al-Kasani (Badaʾiʿ 7/134) says asking him to repent is "recommended… but it is not obligatory". Al-Sarakhsi (as quoted) grants three days if the apostate asks. On women, al-Zaylaʿi says: "A female apostate is not to be killed; instead, she is to be detained until she embraces Islam." Alalwani notes that the Hanafis discussed apostasy under siyar (the law of war).
- Maliki: Khalil's Mukhtasar: "He is asked to repent for three days, without hunger, thirst or punishment; if he repents [he is left], otherwise he is killed." Women are treated like men.
- Shafi'i: al-Nawawi (Minhaj p. 293): asking the male and female apostate to repent is obligatory (one view: recommended) and immediate (one view: three days); "if they persist, they are killed."
- Hanbali: Ibn Qudama (al-Mughni 1538) quotes al-Khiraqi: "Whoever apostatises from Islam, man or woman, being adult and sane, is invited back for three days… otherwise he is killed." He adds a second narration from Ahmad that the invitation is only recommended.
Is "not executing women" evidence that the penalty was about combat? Only partly. The Hanafi exemption rests on the ban on killing women in war, which does treat apostasy like enemy status. But the Hanafis executed peaceful male apostates too, and the other schools executed women. The exemption shows that some jurists thought about apostasy through the law of war. It does not show that the penalty required actual fighting.
History
Apostasy laws are now a minority, concentrated in Muslim-majority states.
- Pew (2022): in 2019, 79 of 198 countries and territories (40%) had blasphemy laws and 22 (11%) had apostasy laws. Blasphemy can carry death in Afghanistan, Brunei, Iran, Mauritania, Nigeria, Pakistan and Saudi Arabia. Brunei implemented death sentences for apostasy in 2019. In Algeria, converts lose inheritance rights.
- Humanists International (2021): apostasy is punishable by death in at least ten countries: Afghanistan, Iran, Malaysia, Maldives, Mauritania, Nigeria, Qatar, Saudi Arabia, the UAE and Yemen.
- USCIRF ("Apostasy, Blasphemy, and Hate Speech Laws in Africa", December 2019): in Africa, "at least 9 countries have apostasy laws", and the press release counts 26 countries with blasphemy laws.
Enforcement is uneven, and the greater danger is often mobs and families rather than courts. In Pakistan, "at least 17 individuals were sentenced to death on blasphemy charges in 2019… although the Pakistani government has never actually executed anyone for blasphemy" (Pew). Social penalties such as divorce, loss of child custody and disinheritance are more common than executions.
Attitudes. Pew's 2013 survey was based on more than 38,000 face-to-face interviews in 39 countries (2008–2012); it excluded Saudi Arabia, India, China and Syria. Among Muslims who favour making sharia official law, the share supporting "the death penalty for people who leave the Muslim religion" was:
- Highest: Egypt 86%, Jordan 82%, Afghanistan 79%, Pakistan 76%, the Palestinian territories 66%, Malaysia 62%.
- Middle: Bangladesh 44%, Thailand 27%, Tajikistan 22%, Indonesia 18%.
- Lowest: Albania 8%, Kazakhstan 4%.
These are shares of sharia supporters, not of all Muslims. The Washington Post's corrected all-Muslim figures (88% Egypt, 62% Pakistan) do not reconcile with Pew's tables. Pew reports that support for sharia "generally varies little by age, gender or education". No age breakdown and no trend data for the apostasy question were found.
The strongest objection, and the reply
"The treason reading is modern apologetics." Reply: It builds on an authentic phrase, on the Hanafi law-of-war treatment, and on early dissent. Limit: As a developed position it is mostly modern, and the pre-modern record overwhelmingly favours execution.
"A confident religion would not threaten leavers." Reply: Classical jurists saw public apostasy as an attack on the public order founded on religion, much as treason is treated today. Many modern scholars hold that this reasoning does not apply to private belief in citizenship states. Limit: This explains the ruling historically; it does not justify the deaths of individuals killed for belief alone.
"Will God punish me for doubting?" Reply: Doubt is not disbelief. In Alalwani's reading, apostasy affects faith only when one "open[s] his or her heart consciously and willingly to a denial of the truth". Istitāba existed to answer doubts: al-Shirbini notes that the apostate "may have been struck by a doubt". Limit: The Sahih Muslim hadith that calls disturbing thoughts "clear faith" was not verified.
The range of views
- Classical, all four schools: death after istitāba; the Hanafis exempt women.
- Indefinite repentance: attributed to al-Nakhaʿi and al-Thawri.
- Discretionary, under siyāsa (state policy): noted by Alalwani.
- No worldly penalty for belief alone: Alalwani, Gomaa (2007), Kamali and Ramadan (reported).
Shiʿi and Ibadi views were not researched.
Questions readers ask next
Am I an apostate because I doubt?
No. Questioning is not ridda, which classical law defined as a clear, chosen renunciation.
I have left Islam. How do I stay safe?
Check the law where you live; Pew and Humanists International list the relevant countries. In those countries, avoid public declarations and avoid posting online under your real name, and consult human-rights organisations before any legal step. Tell one trusted person outside your family, and know where you could go.
What should a family do?
No family member has any right to harm or threaten them. Even classical rulings put any punishment in the hands of a court alone. Verses 31:15 and 60:8 require kindness. Keep the relationship and the conversation open.
Does the hadith say "betrays the state"?
No. That reading is an argument from context, not a translation of the words.
Do many Muslims reject the death penalty?
It depends heavily on the country: among sharia supporters, 4% supported it in Kazakhstan and 18% in Indonesia, against 86% in Egypt.
Key verses
لَآ إِكْرَاهَ فِى ٱلدِّينِ ۖ قَد تَّبَيَّنَ ٱلرُّشْدُ مِنَ ٱلْغَىِّ ۚ فَمَن يَكْفُرْ بِٱلطَّٰغُوتِ وَيُؤْمِنۢ بِٱللَّهِ فَقَدِ ٱسْتَمْسَكَ بِٱلْعُرْوَةِ ٱلْوُثْقَىٰ لَا ٱنفِصَامَ لَهَا ۗ وَٱللَّهُ سَمِيعٌ عَلِيمٌ٢٥٦
Transliteration: lā ik'rāha fī l-dīni qad tabayyana l-rush'du mina l-ghayi faman yakfur bil-ṭāghūti wayu'min bil-lahi faqadi is'tamsaka bil-ʿur'wati l-wuth'qā lā infiṣāma lahā wal-lahu samīʿun ʿalīmun
There shall be no compulsion in [acceptance of] the religion. The right course has become clear from the wrong. So whoever disbelieves in Taghut and believes in Allah has grasped the most trustworthy handhold with no break in it. And Allah is Hearing and Knowing.
Translation: Saheeh International
-
They ask you about the sacred month - about fighting therein. Say, "Fighting therein is great [sin], but averting [people] from the way of Allah and disbelief in Him and [preventing access to] al-Masjid al-Haram and the expulsion of its people therefrom are greater [evil] in the sight of Allah. And fitnah is greater than killing." And they will continue to fight you until they turn you back from your religion if they are able. And whoever of you reverts from his religion [to disbelief] and dies while he is a disbeliever - for those, their deeds have become worthless in this world and the Hereafter, and those are the companions of the Fire, they will abide therein eternally. 2:217
Arabic text and transliteration
يَسْـَٔلُونَكَ عَنِ ٱلشَّهْرِ ٱلْحَرَامِ قِتَالٍ فِيهِ ۖ قُلْ قِتَالٌ فِيهِ كَبِيرٌ ۖ وَصَدٌّ عَن سَبِيلِ ٱللَّهِ وَكُفْرٌۢ بِهِۦ وَٱلْمَسْجِدِ ٱلْحَرَامِ وَإِخْرَاجُ أَهْلِهِۦ مِنْهُ أَكْبَرُ عِندَ ٱللَّهِ ۚ وَٱلْفِتْنَةُ أَكْبَرُ مِنَ ٱلْقَتْلِ ۗ وَلَا يَزَالُونَ يُقَٰتِلُونَكُمْ حَتَّىٰ يَرُدُّوكُمْ عَن دِينِكُمْ إِنِ ٱسْتَطَٰعُوا۟ ۚ وَمَن يَرْتَدِدْ مِنكُمْ عَن دِينِهِۦ فَيَمُتْ وَهُوَ كَافِرٌ فَأُو۟لَٰٓئِكَ حَبِطَتْ أَعْمَٰلُهُمْ فِى ٱلدُّنْيَا وَٱلْـَٔاخِرَةِ ۖ وَأُو۟لَٰٓئِكَ أَصْحَٰبُ ٱلنَّارِ ۖ هُمْ فِيهَا خَٰلِدُونَ
yasalūnaka ʿani l-shahri l-ḥarāmi qitālin fīhi qul qitālun fīhi kabīrun waṣaddun ʿan sabīli l-lahi wakuf'run bihi wal-masjidi l-ḥarāmi wa-ikh'rāju ahlihi min'hu akbaru ʿinda l-lahi wal-fit'natu akbaru mina l-qatli walā yazālūna yuqātilūnakum ḥattā yaruddūkum ʿan dīnikum ini is'taṭāʿū waman yartadid minkum ʿan dīnihi fayamut wahuwa kāfirun fa-ulāika ḥabiṭat aʿmāluhum fī l-dun'yā wal-ākhirati wa-ulāika aṣḥābu l-nāri hum fīhā khālidūna
Sources
- Sahih al-Bukhari 3017, 6922, 6878 (sunnah.com) — the main hadith texts.
- Taha Jabir Alalwani, Apostasy in Islam: A Historical and Scriptural Analysis (IIIT, 2011); abridged edition (IIIT, 2012), https://iiit.org/wp-content/uploads/2018/07/books-in-brief_apostasy_in_islam_a_historical_and_scriptural_analysis.pdf — the reformist argument and the early dissenters.
- Ibn Qudama, al-Mughni, masʾala 1538 (al-Turki ed. vol. 12 p. 264, https://shamela.ws/book/6910/6401); al-Nawawi, Minhaj al-Talibin p. 293 (https://shamela.ws/book/12096/325); al-Kasani, Badaʾiʿ 7/134; al-Zaylaʿi, Tabyin al-Haqaʾiq; Khalil, Mukhtasar (in al-Mawwaq 8/373); Muwatta nos. 1419–1420 — the four schools (found by the research subagent; Hanafi and Maliki texts are secondary quotations).
- Pew Research Center, The World's Muslims: Religion, Politics and Society (2013), ch. 1 and full report — attitude data. https://assets.pewresearch.org/wp-content/uploads/sites/11/2013/04/worlds-muslims-religion-politics-society-full-report.pdf
- Pew Research Center short read, 25 Jan 2022 (2019 data) — law counts. https://www.pewresearch.org/short-reads/2022/01/25/four-in-ten-countries-and-territories-worldwide-had-blasphemy-laws-in-2019-2/
- USCIRF, Africa report press release and Respecting Rights? — law counts.
- Humanists International, Freedom of Thought Report 2021 (via National Secular Society) — death-penalty states. https://www.secularism.org.uk/news/2021/11/death-sentence-for-apostasy-in-nearly-a-dozen-countries-report-says
- Washington Post WorldViews, 1 May 2013 (with correction); Daily News Egypt, 24 July 2007 (https://www.dailynewsegypt.com/2007/07/24/grand-mufti-muslims-may-convert-to-other-religions/); Christian Post — Ali Gomaa and the Pew figures.
- ResearchGate review "Punishment for Apostasy… (Tarjih)" — Kamali and Ramadan (secondary). https://www.researchgate.net/publication/347221341_Punishment_for_Apostasy_A_Review_and_Choosing_the_Right_Perspective_Tarjih
- Dalgın, "İrtidat ve Cezası"
- Diyanet Haber, "Dinde Zorlama Yoktur"
- Abdullah Saeed & Hassan Saeed, Freedom of Religion, Apostasy and Islam
- Pew (2013)