Jubair bin Mut'im (RAA) narrated, 'The Messenger of Allah (ﷺ) said concerning the prisoners of war taken at Badr, "If al-Mut'am bin 'Adi had been alive and spoken to me about those filthy ones(as they were polytheists), I would have freed them for him. Related by Al-Bukhari.
English reference: Book 11, Hadith 1326
Arabic reference: Book 11, Hadith 1300