Some men of the Ansar asked for the permission of Messenger of Allah ﷺ 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). (Using translation from Bukhārī 2537)
أَنَّ رِجَالًا مِنَ الْأَنْصَارِ اسْتَأْذَنُوا رَسُولَ اللهِ ﷺ فَقَالُوا ائْذَنْ لَنَا يَا رَسُولَ اللهِ فَلْنَتْرُكْ لِابْنِ أُخْتِنَا الْعَبَّاسِ فِدَاءَهُ فَقَالَ لَا وَاللهِ لَا تَذَرُونَ دِرْهَمًا