The Ordinance about Prisoners - Section 2 Mishkat al-Masabih 3971

Arabic hadith text
وَعَنْهَا: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَمَّا أَسَرَ أَهْلَ بَدْرٍ قَتَلَ عُقْبَةَ بْنَ أَبِي مُعَيْطٍ وَالنَّضْرَ بْنَ الْحَارِثِ وَمَنَّ عَلَى أَبِي عَزَّةَ الْجُمَحِيِّ. رَوَاهُ فِي شَرْحِ السّنة وَالشَّافِعِيّ وَابْن إِسْحَاق فِي «السِّيرَة»
Translation

She told that when God’s Messenger took prisoner the people at Badr he killed ‘Uqba b. Aba Mu'ait and an-Nadr b. al-Harith, but showed favour to Abu ‘Azza al-Jumahi. It is transmitted in Sharh as-sunna.