"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."
January 1, 1970
https://en.wikiquote.org/wiki/Islamic_views_on_prisoners_of_war