Sahih al-Bukhari #3139
One-fifth of Booty to the Cause of Allah (Khumus) 57:47
Narrated Jubair bin Mut`im:
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."