Apostasy in Islam
Updated 7 min read
Summary
Islam does not prescribe death for merely changing one’s beliefs. The Qur’an discusses apostasy repeatedly without assigning it any worldly punishment, and the hadith and historical cases behind the classical ruling concern separation from the Muslim community, rebellion, murder, robbery or political defection rather than private unbelief. Early jurists also rejected execution for apostasy itself, while Hanafi reasoning tied capital punishment to combat rather than disbelief. Treating a private change of faith as a capital crime therefore conflates unbelief with the additional political acts—which affected public order—that made ridda punishable in the first place.
Introduction
Islam is often accused of prescribing death simply for leaving the faith. But translating ridda simply as “apostasy” can be misleading if that is understood as a private change of belief. In the legal and historical material below, ridda is repeatedly connected with political defection from the Muslim community, rebellion, or other public conduct.
The Qur’an prescribes no worldly punishment for a private change of belief, while the relevant hadith, historical cases, and juristic disagreements point to a more specific offence than unbelief alone. This article examines that distinction.
The hudud — severe corporal and capital punishments associated with theft, adultery and other offences — are a related but separate issue, addressed at The Hudud Punishments in Islam.
Key terms
- sūrah
- a chapter of the Qur’an — the standard division of the text, of which there are 114, each identified by a name rather than a number.
- ridda
- conventionally translated apostasy; in the classical legal material it typically involves public secession from or armed rebellion against the Muslim community, not a private change of belief.
- ḥirāba
- armed robbery, brigandage, or terrorising travellers; a distinct Qur’anic offence with its own penalty in 5:33–34.
- zanādiqa
- heretics or subversives (singular zindīq); in the early reports, those covertly working to undermine the community rather than open dissenters.
- zakāt
- the obligatory annual levy on wealth owed by Muslims; refusing it was treated as a breach of obligation to the polity.
- ḥudūd
- the short, fixed list of scripturally defined offences — theft, brigandage, unlawful sex, false accusation of unlawful sex, intoxication — and their set penalties (singular ḥadd).
- hadith
- a transmitted report of what the Prophet Muhammad ﷺ said, did, or tacitly approved.
- ṣaḥīḥ
- “sound” — a hadith graded as meeting the highest bar for authenticity of transmission (as distinct from the collection titles Sahih al-Bukhari and Sahih Muslim).
- ḍaʿīf
- “weak” — a hadith with a defective chain of transmission, which cannot on its own establish a legal ruling.
The objection
The criticism has three parts:
- Islam puts people to death for changing their beliefs about God, contrary to freedom of conscience.
- The ruling appears in canonical hadith collections and all four schools of law.
- Muslim-majority states still enforce apostasy laws, so the issue is not merely historical.
The second claim overstates the uniformity of the legal tradition. The third is largely correct.
What the Qur’an prescribes
The Qur’an discusses apostasy several times but never prescribes a worldly punishment for it.
An apostate who dies in disbelief loses his deeds and faces punishment in the hereafter:
“And whoever of you reverts from his religion and dies while he is a disbeliever — for those, their deeds have become worthless in this world and the Hereafter.” (Sūrat al-Baqarah 2:217), Saheeh International
﴿وَمَن يَرْتَدِدْ مِنكُمْ عَن دِينِهِۦ فَيَمُتْ وَهُوَ كَافِرٌ فَأُو۟لَـٰٓئِكَ حَبِطَتْ أَعْمَـٰلُهُمْ فِى ٱلدُّنْيَا وَٱلْـَٔاخِرَةِ﴾ [سُورَةُ البَقَرَةِ: ٢١٧]
A person who verbally renounces the faith under coercion is exempted. The verse was revealed concerning Ammar ibn Yasir, who denied his faith under torture while remaining a believer inwardly:
“except for one who is forced [to renounce his religion] while his heart is secure in faith” (Sūrat al-Naḥl 16:106), Saheeh International
﴿إِلَّا مَنْ أُكْرِهَ وَقَلْبُهُۥ مُطْمَئِنٌّۢ بِٱلْإِيمَـٰنِ﴾ [سُورَةُ النَّحۡلِ: ١٠٦]
The Qur’an also describes people believing, apostatising, returning to belief, and apostatising again:
“Indeed, those who have believed then disbelieved, then believed, then disbelieved, and then increased in disbelief — never will Allah forgive them, nor will He guide them to a way.” (Sūrat al-Nisāʾ 4:137), Saheeh International
﴿إِنَّ ٱلَّذِينَ ءَامَنُوا۟ ثُمَّ كَفَرُوا۟ ثُمَّ ءَامَنُوا۟ ثُمَّ كَفَرُوا۟ ثُمَّ ٱزْدَادُوا۟ كُفْرًا لَّمْ يَكُنِ ٱللَّهُ لِيَغْفِرَ لَهُمْ وَلَا لِيَهْدِيَهُمْ سَبِيلًۢا ١٣٧﴾ سُورَةُ النِّسَاءِ
Execution after the first apostasy would make this sequence impossible. The verse assigns the consequence to God and mentions no worldly punishment.
The Qur’an also states:
“Let there be no compulsion in religion.” (Sūrat al-Baqarah 2:256), Dr. Mustafa Khattab, The Clear Quran
﴿لَآ إِكْرَاهَ فِى ٱلدِّينِ﴾ [سُورَةُ البَقَرَةِ: ٢٥٦]
Taken together, these verses treat belief and unbelief as matters between the individual and God. Where the Qur’an prescribes worldly penalties, it addresses outward conduct rather than a change of conviction by itself.
What the hadith say
The classical ruling rests primarily on hadith rather than an explicit Qur’anic penalty.
The shortest and most frequently quoted report comes through Ibn Abbas. It concerns Ali, the Prophet’s ﷺ cousin and son-in-law, burning a group of zanadiqa — heretics or subversives. Ibn Abbas objected to burning them but said:
“I would have killed them, for the Prophet ﷺ said: ‘Whoever changes his religion, kill him.’” — Sahih al-Bukhari 3017; fuller wording at 69221
A second report lists three cases in which a Muslim’s blood may be shed: retaliation for murder, adultery by a married person, and:
“the one who reverts from Islam and leaves the community.” — Sahih al-Bukhari 68782
The Arabic is al-tarik li-dinihi al-mufariq li’l-jamaʿa — “the one who abandons his religion, separating from the community.” In Sahih al-Bukhari, the offence is described as both leaving the faith and separating from the community. That wording matters: the report does not describe an inward change of conviction alone.
The shorter report likewise concerns zanadiqa, with Ibn Abbas discussing how they should be executed rather than private unbelief in isolation. The legal question is therefore not simply whether Islam punished someone for “changing their mind,” but what conduct ridda referred to in a society where religious membership and political allegiance substantially overlapped.
Apostasy and political defection
In a seventh-century polity, religious affiliation and political allegiance were not neatly separate. Leaving the Muslim community could also mean changing sides in a conflict whose communities were defined religiously.
The ridda wars
After the Prophet ﷺ died in 632, many Arabian tribes withdrew their allegiance from Medina and stopped paying zakat — the obligatory levy. Abu Bakr, the first caliph, fought the campaigns later known as the ridda wars.
Umar objected that the tribes still professed the testimony of faith. Abu Bakr replied:
“I swear by God that I will certainly fight those who make a distinction between prayer and zakat, for zakat is what is due from property.” — Sahih Muslim 124; also Sunan Abi Dawud 15563
Abu Bakr did not claim that the tribes had ceased to believe inwardly. Umar invoked the principle that a profession of faith protects life; Abu Bakr argued that withholding zakat was a separate breach of obligation justifying war. The dispute concerned collective secession and refusal of an obligation owed to the polity rather than private belief alone.
The Urayna case
The one case in which apostates were executed during the Prophet’s ﷺ lifetime also involved murder and robbery. The men of Urayna received hospitality, then killed the Prophet’s ﷺ herdsman, stole the camels, and apostatised.
The Qur’anic verse associated with the incident concerns hiraba — armed predation:
“Indeed, the penalty for those who wage war against Allah and His Messenger and strive upon earth to cause corruption is none but that they be killed or crucified, or that their hands and feet be cut off from opposite sides, or that they be exiled from the land.” (Sūrat al-Māʾidah 5:33), Saheeh International
﴿إِنَّمَا جَزَٰٓؤُا۟ ٱلَّذِينَ يُحَارِبُونَ ٱللَّهَ وَرَسُولَهُۥ وَيَسْعَوْنَ فِى ٱلْأَرْضِ فَسَادًا أَن يُقَتَّلُوٓا۟ أَوْ يُصَلَّبُوٓا۟ أَوْ تُقَطَّعَ أَيْدِيهِمْ وَأَرْجُلُهُم مِّنْ خِلَـٰفٍ أَوْ يُنفَوْا۟ مِنَ ٱلْأَرْضِ﴾ سُورَةُ المَائـِدَةِ
Sunan Abi Dawud 4369 states that “the verse regarding fighting against Allah and His Prophet ﷺ was then revealed” concerning these men. The incident also appears in Sahih Muslim and Sahih al-Bukhari.4 Their punished conduct included murder, robbery and armed predation, not apostasy alone. Here again, the worldly penalty is attached to conduct that directly harms others and public order.
Hudaybiyya
At Hudaybiyya in 628, the Prophet ﷺ agreed to a truce with the Quraysh of Mecca. Suhayl ibn Amr required that anyone who came from Mecca to the Prophet ﷺ be returned to the Quraysh, “even if he embraced your religion.”
The Muslims strongly objected, but the Prophet ﷺ accepted the term and honoured it, returning Abu Jandal after he arrived in fetters.5
A universal rule requiring execution for every departure from Islam sits uneasily with an agreement requiring converts to be returned to the community they had left.
The legal tradition was not unanimous
The death penalty became the majority position, but disagreement appeared early.
Early and classical disagreement
The Hanafi school does not execute female apostates. Its settled ruling is imprisonment until they return to Islam rather than death.6
The Hanafi explanation rests on women’s status as non-combatants. If unbelief itself were the capital offence, men and women would receive the same punishment. On this reasoning, fighting rather than unbelief makes the offence capital, and the same principle can extend to other non-combatants.
Ibrahim al-Nakhaʿi (d. 715) and Sufyan al-Thawri (d. 778) — major early jurists, with al-Thawri founding a school that did not survive — rejected execution and held that an apostate should instead be invited to repent indefinitely.7
Al-Sarakhsi, one of the most authoritative Hanafi jurists, wrote that apostasy and unbelief are grave offences “but they are between the human being and his Lord,” with their punishment belonging in the hereafter.7
The emphasis on repentance matters. It does not by itself disprove the majority ruling, but it fits a broader distinction between disbelief as a sin before God and additional conduct that brings a person within worldly criminal jurisdiction.
Modern continuation of the disagreement
Modern scholars have developed the same line of argument.
Taha Jabir al-Alwani argued in a book-length study that neither the Qur’an nor the Sunnah supports a capital penalty for ridda itself, and that the relevant reports concern rebellion against the polity.8
Ali Gomaa, then Grand Mufti of Egypt, stated publicly in 2007 that a Muslim who merely rejects the faith faces no worldly punishment because the matter is between that person and God.9
Abdullah bin Bayyah has argued that applying an apostasy penalty today is counterproductive because it drives people away from religion.10
The classical majority nevertheless prescribed death, and the position remains widely held. The alternative view, however, is recorded from as early as the eighth century.
Punishment and private wrongdoing
The same distinction appears more broadly in Islamic criminal law. A grave sin was not automatically something rulers were instructed to search out: the Qur’an explicitly says, “do not spy,” and classical criminal procedure placed substantial limits on investigation and punishment.11
Islamic criminal procedure also placed strong barriers in the way of imposing the most severe fixed punishments. Jurists developed the maxim idra’u al-hudud bi’l-shubuhat — roughly, “ward off fixed punishments wherever a legitimate doubt can be found” — and surrounded hudud with restrictive definitions and demanding proof. 12 The Qur’an’s four-witness requirement for accusations of illicit sex is one example. 13 The four-witness rule does not apply to ridda itself; rather, it is one example of a broader legal principle that severe punishments should not be imposed readily and require strong proof. 14
The pattern is therefore not one of policing every private sin. Belief, disbelief and repentance remain matters between a person and God; worldly punishment concerns legally provable conduct that falls within the law’s protection of others and the social order.
Contemporary apostasy laws
States may enforce the death penalty while excluding the disagreement and qualifications that historically accompanied it. Modern “apostasy” laws can collapse private unbelief, public religious disagreement, political defection, incitement and violent rebellion into a single category, even though the sources above do not treat all of those things as equivalent.
Blasphemy and apostasy laws are also used politically against religious minorities, dissenters and personal enemies. Such cases have little connection to the mufariq li’l-jamaʿa — the person separating from the community — described in the hadith, and much more to do with local power.
Where the majority position has been codified, views held by al-Nakhaʿi, al-Thawri and modern muftis may be presented as though they fall outside Islam.
Islamic sources themselves therefore provide grounds for criticising contemporary uses of apostasy laws.
Conclusion
The Qur’an prescribes no worldly punishment for a private change of belief and even describes people apostatising, returning to belief, and apostatising again. The hadith underlying the classical ruling include language about separating from the community, while the historical cases of punishment involved additional conduct such as murder, robbery or political secession.
The legal tradition also contains genuine disagreement. Hanafi reasoning connects the death penalty to combat rather than unbelief alone, early jurists such as al-Nakhaʿi and al-Thawri rejected execution, and broader criminal-law principles discouraged searching out private wrongdoing or imposing severe penalties where proof or legal applicability remained doubtful.
Notes
-
Sahih al-Bukhari 3017, and 6922 with the fuller wording identifying the group as zanadiqa and giving the Prophetic prohibition on punishment by fire.
-
Sahih al-Bukhari 6878, from Abdullah ibn Masʿud. The collection renders the third category as “the one who reverts from Islam (apostate) and leaves the Muslims”; the Arabic is al-tarik li-dinihi al-mufariq li’l-jamaʿa. The report also appears in Sahih Muslim.
-
Sahih Muslim 124; Sunan Abi Dawud 1556, whose apparatus cross-references Sahih al-Bukhari 7284–7285 and Sahih Muslim 20.
-
Sunan Abi Dawud 4369, graded hasan sahih, states that the hiraba verse was revealed concerning the men; Sunan Abi Dawud 4364, graded sahih, cross-references Sahih al-Bukhari 233 and Sahih Muslim 1671; see also Sahih Muslim 4353. Some versions record punishments — including putting out the men’s eyes and withholding water — that later jurists held to have been abrogated by the prohibition on mutilation. This article does not rely on those details.
-
Sahih al-Bukhari 2731–2732 and 4180–4181. Suhayl stipulated: “We also stipulate that you should return to us whoever comes to you from us, even if he embraced your religion,” with the parallel wording, “you should return him to us, and should not interfere between us and him.” The reports state that the Muslims found the condition intolerable and that Abu Jandal, arriving from Mecca in fetters, was returned under it.
-
The Hanafi position that a female apostate is imprisoned rather than executed, on the ground that women are non-combatants, is the settled position of the school. Some Hanafi sources add coercive measures during imprisonment. See the survey in Yaqeen Institute, The Issue of Apostasy in Islam.
-
The positions of Ibrahim al-Nakhaʿi and Sufyan al-Thawri — rejecting execution and calling for repentance to be sought without a time limit — and al-Sarakhsi’s statement that these offences are “between the human being and his Lord” are reported in survey literature on apostasy in Islamic law, including the Yaqeen Institute paper above. The primary works of al-Nakhaʿi, al-Thawri and al-Sarakhsi have not been consulted directly here. [unverified]
-
Taha Jabir al-Alwani, Apostasy in Islam: A Historical and Scriptural Analysis (full text, International Institute of Islamic Thought); Arabic original La Ikraha fi al-Din.
-
Ali Gomaa, then Grand Mufti of Egypt, stated in 2007 that a Muslim who merely rejects the faith faces no worldly punishment, the matter being between the individual and God. After controversy, he issued a clarification distinguishing private apostasy from public incitement against the community. Both statements were reported in the Egyptian press in July 2007. [unverified]
-
Abdullah bin Bayyah has argued that applying an apostasy penalty in the present age drives more people out of religion than it keeps in, and that sharia penalties generally require reassessment by qualified scholars. Reported from remarks at a public forum. [unverified]
-
Qur’an 49:12 explicitly prohibits spying: “do not spy.” The verse also closes by describing God as accepting repentance and merciful. On procedural limits on investigating offences in classical Islamic criminal law, see Sadiq Reza, “Due Process in Islamic Criminal Law”, George Washington International Law Review 46 (2013–14).
-
On the maxim idra’u al-hudud bi’l-shubuhat — “avoid fixed punishments in cases of doubt or ambiguity” — see Intisar A. Rabb, “Islamic Legal Maxims as Substantive Canons of Construction: Hudud-Avoidance in Cases of Doubt”, Islamic Law and Society 17 (2010), 63–125. Rabb documents the maxim’s central place in later Islamic criminal law while also showing that its Prophetic attribution is historically complicated. A version attributed to Aisha is graded da’if.
-
Qur’an 24:4 requires four witnesses for an accusation of illicit sex and punishes an accuser who fails to produce them. This is an evidentiary rule concerning zina and qadhf, not ridda; it is cited here only as an example of the unusually high proof required around severe corporal punishments.
-
For the broader procedural caution surrounding hudud, see Robert Gleave, “Public violence, state legitimacy: the Iqamat al-hudud and the sacred state,” in Christian Lange and Maribel Fierro, eds., Public Violence in Islamic Societies (Edinburgh University Press, 2009), which notes restrictive offence definitions, demanding testimonial requirements and suspension of punishment in cases of doubt; and Mohammad Hashim Kamali, Crime and Punishment in Islamic Law: A Fresh Interpretation (Oxford University Press, 2019), chapters on procedural constraints and doubt.
Qur’an verses cited
- 2:217 — apostasy, with no worldly penalty specified
- 2:256 — no compulsion in religion
- 4:137 — belief, disbelief, renewed belief and disbelief again
- 5:33 — the penalty for hiraba, involved in the one lifetime case of apostates being executed
- 16:106 — exemption for a person who denies the faith under duress
- 24:4 — four witnesses required for an accusation of illicit sex
- 49:12 — prohibition on spying into others’ affairs
Further reading
- Taha Jabir al-Alwani, Apostasy in Islam: A Historical and Scriptural Analysis (International Institute of Islamic Thought)
- Jonathan A. C. Brown, Misquoting Muhammad, chapter on apostasy
- Intisar A. Rabb, Doubt in Islamic Law: A History of Legal Maxims, Interpretation, and Islamic Criminal Law
- Yaqeen Institute, The Issue of Apostasy in Islam