The Prophet (ﷺ) talked about war prisoners of Badr saying, "Had Al-Mut`im bin Adi been alive and interceded with me for these mean people, I would have freed them for his sake."
Sahih al-Bukhari Book 57, Hadith 47