Sahih al-Bukhari #3049
Fighting for the Cause of Allah (Jihaad) 56:255
(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."