If the brother or the uncle of somebody was taken as to ransom a Mushrik Sahih al-Bukhari 2537

Arabic hadith text
حَدَّثَنَا إِسْمَاعِيلُ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ بْنِ عُقْبَةَ، عَنْ مُوسَى، عَنِ ابْنِ شِهَابٍ، قَالَ حَدَّثَنِي أَنَسٌ ـ رضى الله عنه ـ أَنَّ رِجَالاً، مِنَ الأَنْصَارِ اسْتَأْذَنُوا رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالُوا ائْذَنْ فَلْنَتْرُكْ لاِبْنِ أُخْتِنَا عَبَّاسٍ فِدَاءَهُ، فَقَالَ ‏"‏لاَ تَدَعُونَ مِنْهُ دِرْهَمًا ‏"
Translation
Narrated Anas

Some men of the Ansar asked for the permission of Allah's Messenger (ﷺ) and said, "Allow us to give up the ransom from our nephew Al-`Abbas. The Prophet (ﷺ) said (to them), "Do not leave (even) a Dirham (of his ransom).