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

Malik related to me from Humayd ibn Qays al-Makki that Mujahidsaid, "Abdullah ibn Umar borrowed some dirhams from a man, then hedischarged his debt with dirhams better than them. The man said, 'AbuAbdar-Rahman. These are better than the dirhams which I lent you.'Abdullah ibn Umar said, 'I know that. But I am happy with myself aboutthat.' " Malik said, "There is no harm in a person who hasborrowed gold, silver, food, or animals, taking to the person who lentit, something better than what he lent, when that is not a stipulationbetween them nor a custom. If that is by a stipulation or promise orcustom, then it is disapproved, and there is no good in it." He said, "That is because the Messenger of Allah, may Allah bless himand grant him peace, discharged his debt with a good camel in itsseventh year in place of a young camel which he borrowed, and Abdullahibn Umar borrowed some dirhams, and repaid them with better ones. Ifthat is from the goodness of the borrower, and it is not by astipulation, promise, or custom, it is halal and there is no harm init." Translation Not Available

Book Ref: Muwatta Imam Malik Book 31 Hadith 1377
Web Ref:  Muwatta Imam Malik Book 31 Hadith 91