Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:1568Ibn Abū ʿUmar > Sufyān > Ayyūb > Abū Qilābah from his uncle > ʿImrān b. Ḥuṣayn

That the Prophet ﷺ ransomed two men for the Muslims with a man from the idolaters.  

[Abu 'Eisa said:] This Hadith is Hasan Sahih. The paternal uncle of Abu Al-Muhallab's name is 'Abdur Rahman bin 'Amr, and they also say it was Muhawiyah bin 'Amr. And Abu Qilabah's name is 'Abdullah bin Zaid Al-Jarmi (narrator in the chain) This is acted upon according to most of the people of knowledge among the Companions of the Prophetﷺ and others. It is for the Imam to decide to be generous with whom he wills among the captives, or to kill whom he wills among them, or to ransom whom he wills among them. Some of the people of knowledge preferred killing over ransoming. Al-Awzai' said: "It has been conveyed to me. that this Ayah is abrogated: Thereafter (is the time) either for generosity (to free them without ranson) or ransom (47:4). It was abrogated by: Kill them wherever you find them (2:191). This was narrated to us by Hannad (who said): "Ibn Al-Mubarak narrated to us, from Al-Awza'i." Ishaq bin Mansur said: "I said to Ahmad: 'When the captives are captured' is killing or ransoming better to you?' He said: 'If they are able to ransom' then there is no harm in it. And if they kill, then I do not know of any harm in it.'" Ishaq said: "Wiping them out is better to me, unless it is someone well-known, so that it is hoped that a large amount will be obtained for him."
الترمذي:١٥٦٨حَدَّثَنَا ابْنُ أَبِي عُمَرَ حَدَّثَنَا سُفْيَانُ حَدَّثَنَا أَيُّوبُ عَنْ أَبِي قِلاَبَةَ عَنْ عَمِّهِ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ

أَنَّ النَّبِيَّ ﷺ فَدَى رَجُلَيْنِ مِنَ الْمُسْلِمِينَ بِرَجُلٍ مِنَ الْمُشْرِكِينَ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ وَعَمُّ أَبِي قِلاَبَةَ هُوَ أَبُو الْمُهَلَّبِ وَاسْمُهُ عَبْدُ الرَّحْمَنِ بْنُ عَمْرٍو وَيُقَالُ مُعَاوِيَةُ بْنُ عَمْرٍو وَأَبُو قِلاَبَةَ اسْمُهُ عَبْدُ اللَّهِ بْنُ زَيْدٍ الْجَرْمِيُّ وَالْعَمَلُ عَلَى هَذَا عِنْدَ أَكْثَرِ أَهْلِ الْعِلْمِ مِنْ أَصْحَابِ النَّبِيِّ ﷺ وَغَيْرِهِمْ أَنَّ لِلإِمَامِ أَنْ يَمُنَّ عَلَى مَنْ شَاءَ مِنَ الأُسَارَى وَيَقْتُلَ مَنْ شَاءَ مِنْهُمْ وَيَفْدِيَ مَنْ شَاءَ وَاخْتَارَ بَعْضُ أَهْلِ الْعِلْمِ الْقَتْلَ عَلَى الْفِدَاءِ وَقَالَ الأَوْزَاعِيُّ بَلَغَنِي أَنَّ هَذِهِ الآيَةَ مَنْسُوخَةٌ قَوْلُهُ تَعَالَى (فَإِِمَّا مَنًّا بَعْدُ وَإِمَّا فِدَاءً) نَسَخَتْهَا (وَاقْتُلُوهُمْ حَيْثُ ثَقِفْتُمُوهُمْ ) حَدَّثَنَا بِذَلِكَ هَنَّادٌ حَدَّثَنَا ابْنُ الْمُبَارَكِ عَنِ الأَوْزَاعِيِّ قَالَ إِسْحَاقُ بْنُ مَنْصُورٍ قُلْتُ لأَحْمَدَ إِذَا أُسِرَ الأَسِيرُ يُقْتَلُ أَوْ يُفَادَى أَحَبُّ إِلَيْكَ قَالَ إِنْ قَدَرُوا أَنْ يُفَادُوا فَلَيْسَ بِهِ بَأْسٌ وَإِنْ قُتِلَ فَمَا أَعْلَمُ بِهِ بَأْسًا قَالَ إِسْحَاقُ بْنُ إِبْرَاهِيمَ الإِثْخَانُ أَحَبُّ إِلَىَّ إِلاَّ أَنْ يَكُونَ مَعْرُوفًا فَأَطْمَعُ بِهِ الْكَثِيرَ

See similar narrations below:

Collected by Aḥmad, Nasāʾī's Kubrá
ahmad:19827Ismāʿīl > Ayyūb > Abū Qilābah > Abū al-Muhallab > ʿImrān b. Ḥuṣayn

That the Prophet ﷺ ransomed two men for the Muslims with a man from the idolaters. (Using translation from Tirmidhī 1568)   

أحمد:١٩٨٢٧حَدَّثَنَا إِسْمَاعِيلُ حَدَّثَنَا أَيُّوبُ عَنْ أَبِي قِلَابَةَ عَنْ أَبِي الْمُهَلَّبِ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ

أَنَّ النَّبِيَّ ﷺ فَدَى رَجُلَيْنِ مِنَ الْمُسْلِمِينَ بِرَجُلٍ مِنَ الْمُشْرِكِينَ مِنْ بَنِي عُقَيْلٍ  

ahmad:19879Ismāʿīl > Ayyūb > Abū Qilābah > Abū al-Muhallab > ʿImrān b. Ḥuṣayn

That the Prophet ﷺ ransomed two men for the Muslims with a man from the idolaters. (Using translation from Tirmidhī 1568)   

أحمد:١٩٨٧٩حَدَّثَنَا إِسْمَاعِيلُ أَخْبَرَنَا أَيُّوبُ عَنْ أَبِي قِلَابَةَ عَنْ أَبِي الْمُهَلَّبِ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ

أَنَّ النَّبِيَّ ﷺ فَدَى رَجُلَيْنِ مِنَ الْمُسْلِمِينَ بِرَجُلٍ مِنَ الْمُشْرِكِينَ مِنْ بَنِي عُقَيْلٍ  

nasai-kubra:8611Qutaybah b. Saʿīd > Sufyān > Ayyūb > Abū Qilābah from his uncle > ʿImrān b. Ḥaṣīn

[Machine] That the Prophet ﷺ "gave a person from the polytheists and took two people from the Muslims as a ransom for the group with one."  

الكبرى للنسائي:٨٦١١أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ قَالَ حَدَّثَنَا سُفْيَانُ عَنْ أَيُّوبَ عَنْ أَبِي قِلَابَةَ عَنْ عَمِّهِ عَنْ عِمْرَانَ بْنِ حَصِينٍ

أَنَّ النَّبِيَّ ﷺ «أَعْطَى رَجُلًا مِنَ الْمُشْرِكِينَ وَأَخَذَ رَجُلَيْنِ مِنَ الْمُسْلِمِينَ فِدَاءَ الْجَمَاعَةِ بِالْوَاحِدِ»