كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(12)
Chapter
(12)
باب
Sahih al-Bukhari 4018

Narrated Anas bin Malik:

Some men of the Ansar requested Allah's Messenger (ﷺ) to allow them to see him, they said, "Allow us to forgive the ransom of our sister's son, `Abbas." The Prophet (ﷺ) said, "By Allah, you will not leave a single Dirham of it!"

حَدَّثَنِي إِبْرَاهِيمُ بْنُ الْمُنْذِرِ، حَدَّثَنَا مُحَمَّدُ بْنُ فُلَيْحٍ، عَنْ مُوسَى بْنِ عُقْبَةَ، قَالَ ابْنُ شِهَابٍ حَدَّثَنَا أَنَسُ بْنُ مَالِكٍ، أَنَّ رِجَالاً، مِنَ الأَنْصَارِ اسْتَأْذَنُوا رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالُوا ائْذَنْ لَنَا فَلْنَتْرُكْ لاِبْنِ أُخْتِنَا عَبَّاسٍ فِدَاءَهُ‏.‏ قَالَ ‏ "‏ وَاللَّهِ لاَ تَذَرُونَ مِنْهُ دِرْهَمًا ‏"‏‏.‏
Reference : Sahih al-Bukhari 4018
In-book reference : Book 64, Hadith 67
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 353
  (deprecated numbering scheme)