Mishkat
al-Masabih
مشكاة المصابيح
Jihad
كتاب الجهاد
Chapter 6b: The Ordinance about Prisoners - Section 2
باب حكم الاسراء - الفصل الثاني
Mishkat al-Masabih 3973
‘Ali reported Allah's Messenger ﷺ as saying that Gabriel came down to him and said to him, “Give them (i.e. your companions) their choice regarding the prisoners at Badr whether they should be killed or ransomed on condition that a like number of them should be killed the following year.” They replied, “We shall accept ransom and have some of us killed.” Tirmidhi transmitted it, saying this is a gharib tradition.
وَعَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " أَنَّ جِبْرِيلَ هَبَطَ عَلَيْهِ فَقَالَ لَهُ: خَيِّرْهُمْ يَعْنِي أَصْحَابَكَ فِي أُسارى بدر: القتلَ والفداءَ عَلَى أَنْ يُقْتَلَ مِنْهُمْ قَابِلًا مِثْلُهُمْ " قَالُوا الْفِدَاءَ وَيُقْتَلَ مِنَّا. رَوَاهُ التِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيث غَرِيب
In-book reference: Mishkat al-Masabih Book 19 Chapter 6b Hadith 1