Abu Hurairah (May Allah be pleased with him) reported:
A man demanded of the Prophet ﷺ for repayment of a loan and was harsh to him. His Companions were about to attack him, but he ﷺ said, "Leave him, as the creditor is entitled to make a demand. Give him a camel of the same age as the camel that is due to him." They said: "We find a better camel senior to it in age." He ﷺ said, "Then buy it and give it to him; verily the best of you is the one who is the best in discharging his obligations (repayment of loans)."
[Al-Bukhari and Muslim].
وعن أبي هريرة رضي الله عنه أن رجلا أتى النبي ﷺ يتقاضاه فأغلظ له فهم به أصحابه، فقال رسول الله ﷺ : "دعوه فإن لصاحب الحق مقالا" ثم قال: "أعطوه سنا مثل سنه" قالوا: يا رسول الله لا نجد إلا أمثل من سنه، قال: "أعطوه فإن خيركم أحسنكم قضاء" ((متفق عليه)) .