Abu Hurairah reported,

A man had a debt owed to him by the Messenger of Allah ﷺ, and he pressed him for it harshly. The companions were about to confront him, but the Prophet ﷺ said, "Leave him, for the one who has a right is entitled to speak."Then he said, "Buy him a camel of the same age and give it to him."They said, "We cannot find one of his camel's age, only one that is better."He said, "Then buy it and give it to him, for the best of you is the one who repays his debts most graciously."

Bukhari 2606

Sahih

حدثنا عبد الله بن عثمان بن جبلة قال أخبرني أبي عن شعبة عن سلمة قال سمعت أبا سلمة

عن أبي هريرة رضي الله عنه قال

كان لرجل على رسول الله ﷺ دين فهم به أصحابه فقال دعوه فإن لصاحب الحق مقالا وقال اشتروا له سنا فأعطوها إياه فقالوا إنا لا نجد سنا إلا سنا هي أفضل من سنه قال فاشتروها فأعطوها إياه فإن من خيركم أحسنكم قضاء

البخاري 2606صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Gifts, their virtue, and encouragement to give them
Chapter
Gifts that are received and not received, and divided and not divided
Numbering
Darussalam 2606
Bukhari 2606