Classical Islamic law, in all four Sunni schools and the Shi'a schools, prescribed a death penalty for a Muslim who leaves Islam after full knowledge and does not repent, on the basis of a hadith and the precedent of Abu Bakr's wars against the apostates, while a number of early and modern scholars hold that the Qur'an prescribes no worldly punishment and that the hadith concerns treason.
- The Qur'an speaks of apostasy as a grave sin with a punishment in the Hereafter (2:217, 3:90 to 91, 16:106) and states that there is no compulsion in religion (2:256), but gives no earthly penalty.
- The main text for the penalty is the hadith 'Whoever changes his religion, kill him' (Sahih al-Bukhari 6922) and the hadith on the three grounds for shedding a Muslim's blood (Sahih Muslim 1676).
- Scholars differ on whether the penalty is a fixed punishment (hadd) for unbelief itself, or a discretionary or political measure aimed at those who combine apostasy with rebellion or betrayal of the community.
- Many classical jurists required a call to repent, and some demanded that the person be given time, with differences over women and over the length of that time.
Introduction
The question concerns one of the most debated topics in Islamic law. It is asked here as a fair question about how a faith that says 'there is no compulsion in religion' can also have a death penalty for leaving it. An honest answer must set out the texts, the way the earliest generations applied them, the opinions of the four schools and the modern arguments, without claiming that Muslims have a single view.
The Arabic term is ridda (turning back), and one who commits it is a murtadd. In the Qur'an, the verb irtadda is used with the sense of reverting from faith to disbelief. The question is what, if any, earthly consequence follows, and who may decide it.
What the Qur'an says
The Qur'an treats apostasy as a serious matter, and it threatens an end-of-life punishment in the Hereafter. It says that deeds of those who turn back and die as disbelievers are void in this world and the next:
وَمَن يَرْتَدِدْ مِنكُمْ عَن دِينِهِ فَيَمُتْ وَهُوَ كَافِرٌ فَأُولَٰئِكَ حَبِطَتْ أَعْمَالُهُمْ فِي الدُّنْيَا وَالْآخِرَةِ ۖ وَأُولَٰئِكَ أَصْحَابُ النَّارِ هُمْ فِيهَا خَالِدُونَ
'And whoever of you turns back from his religion and dies while a disbeliever, those are the ones whose deeds have become worthless in this world and the Hereafter, and they are the companions of the Fire, abiding therein.' (2:217)
Other verses speak of those who believe, then disbelieve, then believe and disbelieve again (4:137), of the one who disbelieves after believing, except one who is compelled while his heart is at rest in faith (16:106), and of Allah bringing a people He loves to replace those who turn back (5:54). The Qur'an also criticises hypocrites who say, 'We were only jesting', and says, 'Make no excuse; you have disbelieved after your belief' (9:65 to 66). In none of these verses is a worldly penalty stated. Those who hold the Qur'an to be silent on it point to the principle in 2:256 and to the Prophet's instruction, 'You are only a reminder; you are not a controller over them' (88:21 to 22). They also note that the Qur'an prescribes specific penalties for other offences, such as theft and false accusation, and could have done so for apostasy.
The hadith evidence
The penalty rests on the hadith. The best known is reported by Ibn Abbas (ra): 'Whoever changes his religion, kill him' (Sahih al-Bukhari 6922). A second is the hadith of Ibn Mas'ud (ra) that the Prophet (saw) said the blood of a Muslim who testifies that there is no god but Allah and that he is the Messenger of Allah is not lawful except in three cases: a life for a life, a married person who commits adultery, and one who leaves his religion and separates from the community (al-tarik li-dinihi al-mufariq li-l-jama'a) (Sahih al-Bukhari 6878; Sahih Muslim 1676). The jurists who uphold the penalty cite both, and the practice of the Companions.
Those who read the penalty more narrowly point to the wording of the second hadith, in which the offender is described as one who both leaves his religion and separates from the community. They argue that the two descriptions together identify a person who defects to the enemy or joins in rebellion, and that the phrase is not a description of a person who changes belief privately. This reading was developed by scholars such as Mahmud Shaltut, the former rector of al-Azhar, and in modern works such as Taha Jabir al-Alwani's Apostasy in Islam (2011) and Abdullah Saeed and Hassan Saeed's Freedom of Religion, Apostasy and Islam (2004). They add that the Prophet (saw) did not execute individuals who left Islam without hostility. In a report in the Sahih collections, a Bedouin pledged allegiance, then asked to be released from his pledge, and the Prophet (saw) refused to release him three times; the man left Madinah and was not pursued (Sahih al-Bukhari, Book of Judgements). Another report concerns Ubaydullah ibn Jahsh, who left Islam in Abyssinia and died a Christian, and no action was taken.
The Companions and the Ridda wars
After the Prophet's (saw) death, several Arab tribes refused to pay zakah, some followed false prophets such as Musaylima, and some left the faith altogether. Abu Bakr (ra) fought them in what are called the Ridda wars. The reasons reported are mixed, which is why scholars read the episode differently. For the classical jurists, the wars are precedent for fighting apostates. For modern writers, they are an example of the state dealing with armed rebellion and the refusal of an obligation to the community's treasury, and Abu Bakr's words about fighting those who 'separate prayer from zakah' show that the quarrel concerned obligations as well as belief (Sahih al-Bukhari and Sahih Muslim).
Reports of individual cases show differing practice. It is reported in the Muwatta of Imam Malik that Umar (ra) was told of a man who had disbelieved after believing, and that he asked what had been done with him; when told that he was killed, Umar said, 'Why did you not imprison him for three days and give him a loaf every day, and call him to repent, so that he might repent and return to Allah's command? O Allah, I was not present, I did not order it, and I am not pleased now that I have heard.' Some scholars regard the chain of this report as disconnected, but it was widely cited by jurists who required a period for repentance. Ibrahim al-Nakha'i and Sufyan al-Thawri are reported to have held that the apostate should be called to repent indefinitely and not be killed.
The schools and their differences
The four Sunni schools agree that a sane adult male Muslim who leaves Islam deserves the death penalty if he does not repent, but they differ on the details. The Hanafis, following Abu Hanifa, held that a woman who leaves Islam is imprisoned and not killed, because the Prophet (saw) forbade killing women in war and because a woman is not a combatant. The Malikis, Shafi'is and Hanbalis held that she is treated like a man. The Malikis and the Hanbalis held that the call to repentance is obligatory and should last three days, the Shafi'is also required a call to repent, and the Hanafis held that it is recommended and not obligatory. Imam al-Shafi'i in al-Umm and Ibn Qudama in al-Mughni deal with these points at length. The Hanafis also held that the apostate's contracts and property rights are suspended while his status is decided.
The schools also required that the person had understood what he was doing, was not under compulsion, and was not a child or insane, because the conditions of legal responsibility apply. A statement of doubt, a question or a rejection under duress does not count, as the Qur'an excuses the one who is compelled (16:106). Ibn Taymiyya, in al-Sarim al-Maslul, distinguished a person who leaves quietly from one who openly insults the Prophet (saw) or fights against the faith, and held that the second deserves death in any case. Among the Zaydi and the Twelver Shi'a, the penalty is also stated, with a difference between those born as Muslims and those who converted.
Modern views and the question of freedom
Modern scholars now hold three broad positions. The first, held by many traditional scholars and by the law in some states, is that the classical rule remains in force and that the penalty protects the community, as the penalty for treason does in modern states. The second, associated with Yusuf al-Qaradawi in his writings on the subject, is that the penalty applies to apostasy that is public and hostile (ridda mughallaza) and not to private change of belief. The third, held by scholars such as Shaltut, al-Alwani, Mohammad Hashim Kamali and Abdullah Saeed, is that the Qur'an knows no earthly penalty for apostasy as such, that the hadith concerns treason or a war situation, and that the principle of 2:256 prevails. In practice, states differ widely. Some have laws that punish apostasy, others do not apply the rule, and Sudan repealed its apostasy provisions in 2020.
A fair account therefore shows that the classical rule exists and is supported by hadith and by the practice of the early generations, and that its scope and application are disputed by scholars who rely on other texts and on the Qur'an's silence. The conflict is partly one of method. Those who prefer the apparent meaning of the hadith and the consensus of the jurists tend to maintain the classical rule, and those who give weight to the Qur'an's general principles and to the political setting of the hadith tend to narrow it.
Conclusion
The classical jurists of all the major schools held that a Muslim who abandons Islam and refuses to repent is liable to death, relying on the hadith in Bukhari and Muslim and on the Ridda wars, while setting conditions such as legal capacity, absence of compulsion and a call to repentance. Other scholars, early and modern, answer that the Qur'an prescribes no earthly punishment, that 2:256 states a principle of freedom and that the hadith applies to those who also betray or fight the community. The difference between these positions is one of reading the texts and their setting, and it remains a living question in Islamic law.
References
Qur'an 2:217, 2:256, 3:90 to 91, 4:137, 5:54, 9:65 to 66, 16:106, 88:21 to 22
Sahih al-Bukhari 6878, 6922; Sahih Muslim 1676; Malik ibn Anas, al-Muwatta', Book of Judgements
al-Shafi'i, al-Umm; Ibn Qudama, al-Mughni; Ibn Taymiyya, al-Sarim al-Maslul 'ala Shatim al-Rasul
Abdullah Saeed and Hassan Saeed, Freedom of Religion, Apostasy and Islam (Ashgate, 2004)
Taha Jabir al-Alwani, Apostasy in Islam: A Historical and Scriptural Analysis (IIIT, 2011)
Mohammad Hashim Kamali, Freedom of Expression in Islam (1997)