Islamic views on prisoners of war encompass teachings from the Qur'an and hadith as well as later regulations developed in Islamic jurisprudence.

The historical legal principles governing the treatment of prisoners of war, in shar'iah, Islamic law, (in the traditional madhabs schools of Islamic jurisprudence), was then a significant improvement over the pre-existing norms of Arab society during Muhammad's time (see Early reforms under Islam). Men, women, and children may all be taken as prisoners of war under traditional interpretations of Islamic law. Generally, a prisoner of war could be, at the discretion of the military leader, freed, ransomed, exchanged for Muslim prisoners, or kept in bondage.Tafsir of the Qur'an by Ibn Kathir In earlier times, the ransom sometimes took an educational dimension, where a literate prisoner of war could secure their freedom by teaching ten Muslims to read and write.Shirazi, Imam Muhammad. The Prophet Muhammad - A Mercy to the World. Createspace Independent Pub, 2013, p. 74.The Story of the Prisoners of the Battle of Badr : Shaykh Safi ur-Rahmaan Mubarakfoori Some Muslim scholars hold that a prisoner may not be ransomed for gold or silver, but may be exchanged for Muslim prisoners.'Abu Yusuf Ya'qub Le Livre de l'impot foncier,' translated from Arabic and annotated by Edmond Fagnan, Paris, Paul Geuthner, 1991, pages 301-302) Abu Yusuf (d. 798 CE)

Primary sources

Qur'an The Qur'an explicitly allows Muslims to take prisoners during war (). There is no verse in the Qur'an permitting enslavement of prisoners (but see section below on Islamic jurisprudence).

Al-Qardawi, an Egyptian Muslim scholar born in 1926, adds in light of the verses below (), that the Islamic state should go to war to rescue non-Muslim minorities if they require help of the state and if the Islamic state is able to rescue them:Would not you fight in the way of God for al-mustad‛afīn (the oppressed socially weak Muslims) from men, women and children who pray: Our Lord! Take us from this city of the oppressive people and appoint for us from Your side a guardian and appoint for us from Your side a protector. Those who have believed fight in the way of God and those who disbelieve fight in the way of Satan, so fight the allies of Satan; surely the plot of Satan is weak. -

Muhammad's life Many of the Islamic rules regarding prisoners of war ("POWs") come in the aftermath of the Battle of Badr, in which Muslims captured 43-70 enemy combatants. At the time, Muslims didn't have rules to deal with POWs. Muhammad ordered the prisoners be accommodated in the Prophet's Mosque or in houses of his companions, as they were the safest places in Medina at the time. Muhammad's famous instruction to his companions, with respect to the Badr POWs, was: "Observe good treatment towards the prisoners."

One of the POWs, Abū ‛Azīz ibn ‛Umayr ibn Hāshim, later stated: "They (Muslim fighters) brought me from Badr, and when they ate their morning and evening meals they gave me the bread and ate the dates themselves in accordance with the orders that the apostle had given about us. If anyone had a morsel of bread he gave it to me. I felt ashamed and returned it to one of them but he returned it to me untouched." Other Badr POWs reported being treated similarly. Another POW, Al-Abbas, was undressed when brought into captivity; so Muhammad found a shirt for him to wear. These practices would then set the precedent that POWs should be fed, clothed and sheltered adequately.

During his life, Muhammad made it the responsibility of the Islamic government to provide food and clothing, on a reasonable basis, to captives, regardless of their religion. If the prisoners were in the custody of a person, then the responsibility was on the individual.Maududi (1967), Introduction of Ad-Dahr, "Period of revelation", p. 159.

Historically, Muslims routinely captured large number of prisoners. Aside from those who converted to Islam, most were ransomed or enslaved. Pasquier writes,

According to accounts written by Muhammad's followers, after the Battle of Badr, some prisoners were executed for their earlier crimes in Mecca, but the rest were given options: They could convert to Islam and thus win their freedom; they could pay ransom and win their freedom; they could teach 10 Muslims to read and write and thus win their freedom. William Muir wrote of this period:

Executing prisoners During the conquest of Mecca, Muhammad ordered "‘slay no wounded person, pursue no fugitive, execute no prisoners." Based on this many of his companions and jurists argued it was impermissible to execute POWs, yet those who disagreed pointed to three POWs Muhammad ordered be executed. After the Battle of Badr, Muhammad sentenced Uqba ibn Abi Mu'ayt to death for his crimes against Muslims in Mecca. Abū ‛Azzah al-Jumaḥi, was also captured at Badr and set free on the condition that he would never fight against Muslims again. When he was captured fighting Muslims at the Battle of Uhud, he was executed. Abdullah ibn Khatal was a Muslim who had killed a slave and then defected to the enemy; when Khatal was captured at the conquest of Mecca, he was executed.

Other sources During his rule, Caliph Umar made it illegal to separate related prisoners of war from each other, after a captive complained to him for being separated from her daughter.Naqvi (2000), pg. 456

These principles were also honoured during the Crusades, as exemplified by sultans such as Saladin and al-Kamil. For example, after al-Kamil defeated the Franks during the Crusades, Oliverus Scholasticus praised the Islamic laws of war, commenting on how al-Kamil supplied the defeated Frankish army with food:

Islamic jurisprudence Upon capture, the prisoners must be guarded and not ill-treated. Islamic law holds that the prisoners must be fed and clothed, either by the Islamic government or by the individual who has custody of the prisoner. This position is supported by the verse of the Quran. The prisoners must be fed in a dignified manner, and must not be forced to beg for their subsistence.Maududi (1967), introduction of Ad-Dahr, "Period of revelation", pg. 159 Muhammad's early followers also considered it a principle to not separate prisoners from their relatives.And they give food in spite of love for it to the needy, the orphan, and the captive,

[Saying], "We feed you only for the countenance of Allah; no reward do we desire from you, nor thanks.

- Qur'an 76:8-9After the fighting is over, prisoners are to be released freely, with some prospect of survival, or exchanged. The prisoners are not to be forced to convert to Islam. The freeing or ransoming of prisoners by Muslims themselves is highly recommended as a charitable act. The Qur'an also urges kindness to captives(, , ) and recommends, their liberation by purchase or manumission. The freeing of captives is recommended both for the expiation of sins(, , ) and as an act of simple benevolence.(, , )Lewis 1990, page 6. All Qur'anic citations are his. However, the Quran also permits certain forms of punishments against certain captives, such as those who are deemed as waging war against Islam, disbelievers, adulterers and fornicators.( )

Women and children

According to the authentication of Muslim scholars, women and children prisoners of war cannot be killed under any circumstances, regardless of their faith, but that they may be enslaved, freed or ransomed. Women who are neither freed nor ransomed by their people were to be kept in bondage and referred to as ma malakat aymanukum (slaves) to give them their rights to survive peacefully, and they could not be left astray.

Some modern Islamic extremist groups have taken slaves, including women and children. Abubakar Shekau, the leader of Boko Haram, a Nigerian extremist group, said in an interview, "I shall capture people and make them slaves" when claiming responsibility for the 2014 Chibok kidnapping. Shekau has justified his actions by appealing to the Quran saying "[w]hat we are doing is an order from Allah, and all that we are doing is in the Book of Allah that we follow". In October 2014, in its digital magazine Dabiq, ISIL explicitly claimed religious justification for enslaving Yazidi women. Specifically, ISIL argued that the Yazidi were idol worshipers and justified the sexual slavery of the captured non-muslim victims as a permissible manner of enjoying the spoils of war.Allen McDuffee, "ISIS Is Now Bragging About Enslaving Women and Children," The Atlantic, Oct 13 2014Salma Abdelaziz, "ISIS states its justification for the enslavement of women," CNN, October 13, 2014"To have and to hold: Jihadists boast of selling captive women as concubines," The Economist, Oct 18th 2014By AFP, "ISIS jihadists boast of enslaving Yazidi women," Al Arabiya, October 13, 2014 ISIL appealed to apocalyptic beliefs and "claimed justification by a Hadith that they interpret as portraying the revival of slavery as a precursor to the end of the world."Nour Malas, "Ancient Prophecies Motivate Islamic State Militants: Battlefield Strategies Driven by 1,400-year-old Apocalyptic Ideas," The Wall Street Journal, Nov. 18, 2014 (accessed Nov. 22,2014)Amelia Smith, "ISIS Publish Pamphlet On How to Treat Female Slaves," Newsweek, 12/9/2014Greg Botelho, "ISIS: Enslaving, having sex with 'unbelieving' women, girls is OK," CNN, December 13, 2014Katharine Lackey, "Pamphlet provides Islamic State guidelines for sex slaves," USA Today, December 13, 2014Carey Lodge, "Islamic State issues abhorrent sex slavery guidelines about how to treat women," ,Christianity Today, 15 December 2014Adam Withnall, "Isis releases 'abhorrent' sex slaves pamphlet with 27 tips for militants on taking, punishing and raping female captives," The Independent, 10 December 2014

Men One traditional opinion holds that executing prisoners of war is strictly forbidden; this is the most widely accepted view, and one upheld by the Hanafi madhab.El Fadl (2003), pg. 115

However, the opinion of the Maliki, Shafi'i, Hanbali and Jafari madhabs is that adult male prisoners of war may be executed.El Fadl (2003), pg. 116 The decision for an execution is to be made by the Muslim leader. This opinion was also held by the Muslim judge, Sa'id bin Jubair (665-714 AD) and Abu Yusuf, a classical jurist from the Hanafi school of jurisprudence. El Fadl argues that Muslim jurists adopted this position largely because it was consistent with the war practices of the Middle Ages. Muhammad Hamidullah, while reminding that execution in such cases was exceptional and depending on many factors, further states that beheading was discouraged: "unanimity was reached among the Companions of the Prophet not to behead prisoners of war. In short, capital punishment for prisoners of war is only permissible in extreme cases of necessity and in the higher interests of the State."Muhammad Hamidullah, Muslim Conduct of State, Muhammad Ashraf (1945), pp. 208-209

Most contemporary Muslim scholars prohibit altogether the killing of prisoners and hold that this was the policy practiced by Muhammad.Hashmi (2003), pg. 145 The 20th-century Muslim scholar, Sayyid Abul Ala Maududi states that no prisoner should be "put to the sword" in accordance with a saying of Muhammad.Maududi (1998), p. 34

Yusuf Ali, another 20th-century Muslim scholar, while commenting on verse , writes,

Maududi further states that Islam forbids torturing, especially by fire, and quotes Muhammad as saying, "Punishment by fire does not behoove anyone except the Master of the Fire [God]."Prohibition of punishing people with fire, Musnad Ahmad