 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.However, the Quran also permits certain forms of torture against certain captives, such as those who are deemed as waging war against Islam, disbelievers, adulterers and fornicators.