Narrated Anas:
Some men of the Ansar asked for the permission of Allah’s Apostle 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).”
Sahih Bukhari, Volume 3, Book46, Number 714