Language:
كتاب الجهاد والسير
56  
Fighting for the Cause of Allah (Jihaad)
(172)
Chapter: The ransom of Al-Mushrikun
(172)
باب فِدَاءِ الْمُشْرِكِينَ
Sahih al-Bukhari 3049
(In another narration) Anas said:
"Some wealth was brought to the Prophet (ﷺ) from Bahrain. Al `Abbas came to him and said, 'O Allah's Messenger (ﷺ)! Give me (some of it), as I have paid my and `Aqil's ransom.' The Prophet (ﷺ) said, 'Take,' and gave him in his garment."
وَقَالَ إِبْرَاهِيمُ عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسٍ، قَالَ أُتِيَ النَّبِيُّ صلى الله عليه وسلم بِمَالٍ مِنَ الْبَحْرَيْنِ، فَجَاءَهُ الْعَبَّاسُ فَقَالَ يَا رَسُولَ اللَّهِ، أَعْطِنِي فَإِنِّي فَادَيْتُ نَفْسِي، وَفَادَيْتُ عَقِيلاً‏.‏ فَقَالَ ‏ "‏ خُذْ ‏"‏‏.‏ فَأَعْطَاهُ فِي ثَوْبِهِ‏.‏
Reference : Sahih al-Bukhari 3049
In-book reference : Book 56, Hadith 255
USC-MSA web (English) reference : Vol. 4, Book 52, Hadith 284
  (deprecated numbering scheme)