Sahih al-Bukhari, Book 51, Hadith 42 (In-Book)

Narrated Abu Huraira: The Prophet took a camel of special age from somebody on credit. Its owner came and demanded it back (harshly). The Prophet said, "No doubt, he who has a right, can demand it." Then the Prophet gave him an older camel than his camel and said, "The best amongst you is he who repays his debts in the most handsome way."

حَدَّثَنَا ابْنُ مُقَاتِلٍ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا شُعْبَةُ، عَنْ سَلَمَةَ بْنِ كُهَيْلٍ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ أَخَذَ سِنًّا فَجَاءَ صَاحِبُهُ يَتَقَاضَاهُ فَقَالَ ‏"‏ إِنَّ لِصَاحِبِ الْحَقِّ مَقَالاً ‏"‏‏.‏ ثُمَّ قَضَاهُ أَفْضَلَ مِنْ سِنِّهِ وَقَالَ ‏"‏ أَفْضَلُكُمْ أَحْسَنُكُمْ قَضَاءً ‏"‏‏.‏

sunnah.com