Sahih al-Bukhari, Book 56, Hadith 255 (In-Book) ⓘ
(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."
وَقَالَ إِبْرَاهِيمُ عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسٍ، قَالَ أُتِيَ النَّبِيُّ صلى الله عليه وسلم بِمَالٍ مِنَ الْبَحْرَيْنِ، فَجَاءَهُ الْعَبَّاسُ فَقَالَ يَا رَسُولَ اللَّهِ، أَعْطِنِي فَإِنِّي فَادَيْتُ نَفْسِي، وَفَادَيْتُ عَقِيلاً. فَقَالَ " خُذْ " . فَأَعْطَاهُ فِي ثَوْبِهِ.
also referenced under: Hadith 3049 (DarusSalam) & Volume 4, Book 52, Hadith 284 (USC-MSA)