Islamic treatment of Prisoners – Wikipedia
During his life, Prophet Muhammad changed this custom and 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.
Historically, Muslims routinely captured large number of prisoners. Aside from those who converted, most were ransomed or enslaved. Pasquier writes,
It was the custom to enslave prisoners of war and the Islamic state would have put itself at a grave disadvantage vis-a-vis its enemies had it not reciprocated to some extent. By guaranteeing them [male POWs] humane treatment, and various possibilities of subsequently releasing themselves, it ensured that a good number of combatants in the opposing armies preferred captivity at the hands of Muslims to death on the field of battle.
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:
In pursuance of Mahomet’s commands the citizens of Medina and such of the refugees as possessed houses received the prisoners and treated them with much consideration. ‘Blessings be on the men of Medina’, said one of these prisoners in later days, ‘they made us ride while they themselves walked; they gave us wheaten bread to eat when there was little of it, contenting themselves with dates.[verification needed]
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: