Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:7364Abū Zakariyyā b. Abū Isḥāq Fī Ākharīn > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān Nbʾ al-Shāfiʿī Nbʾ Mālik > Zayd b. Aslam > ʿAṭāʾ b. Yasār > Abū Rāfiʿ

[Machine] The Messenger of Allah ﷺ requested a loan from a man, and then some camels from the camels of charity came to him. He commanded me to give them to him.  

البيهقي:٧٣٦٤أَخْبَرَنَا أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ فِي آخَرِينَ قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ مَالِكٌ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ أَبِي رَافِعٍ

أَنَّ رَسُولَ اللهِ ﷺ اسْتَسْلَفَ مِنْ رَجُلٍ بِكْرًا فَجَاءَتْهُ إِبِلٌ مِنَ إِبِلِ الصَّدَقَةِ فَأَمَرَنِي أَنْ أَقْضِيَهُ إِيَّاهُ  

أَخْرَجَهُ مُسْلِمٌ فِي الصَّحِيحِ مِنْ حَدِيثِ ابْنِ وَهْبٍ عَنْ مَالِكٍ

See similar narrations below:

Collected by Bayhaqī
bayhaqi:11097[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ Fī Ākharīn > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān Nbʾ al-Shāfiʿī Nbʾ Mālik [Chain 2] Abū al-Ḥusayn b. Bishrān Nbʾ Abū Bakr Aḥmad b. Salmān b. al-Ḥasan al-Faqīh > Sulaymān b. al-Ashʿath al-Sijistānī Bi-al-Baṣrah > ʿAbdullāh b. Maslamah al-Qaʿnabī > Mālik b. Anas > Zayd b. Aslam > ʿAṭāʾ b. Yasār > Abū Rāfiʿ

The Messenger of Allah ﷺ borrowed a young camel, and when the camels of the sadaqah (alms) came to him, he ordered me to pay the man his young camel. I said: I find only an excellent camel in its seventh year. So the Prophet ﷺ said: Give it to him, for the best person is he who discharges his debt in the best manner. (Using translation from Abū Dāʾūd 3346)   

البيهقي:١١٠٩٧أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ فِي آخَرِينَ قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ مَالِكٌ ح وَأَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ أنبأ أَبُو بَكْرٍ أَحْمَدُ بْنُ سَلْمَانَ بْنِ الْحَسَنِ الْفَقِيهُ ثنا سُلَيْمَانُ بْنُ الْأَشْعَثِ السِّجِسْتَانِيُّ بِالْبَصْرَةِ ثنا عَبْدُ اللهِ بْنُ مَسْلَمَةَ الْقَعْنَبِيُّ عَنْ مَالِكِ بْنِ أَنَسٍ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ أَبِي رَافِعٍ قَالَ

اسْتَسْلَفَ رَسُولُ اللهِ ﷺ بَكْرًا فَجَاءَتْهُ إِبِلٌ مِنَ الصَّدَقَةِ فَأَمَرَنِي أَنْ أَقْضِيَ الرَّجُلَ بَكْرَهُ فَقُلْتُ لَمْ أَجِدْ فِي الْإِبِلِ إِلَّا جَمَلًا خِيَارًا رَبَاعِيًّا فَقَالَ النَّبِيُّ ﷺ أَعْطِهِ إِيَّاهُ؛ فَإِنَّ خِيَارَ النَّاسِ أَحْسَنُهُمْ قَضَاءً  

أَخْرَجَهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي طَاهِرٍ عَنِ ابْنِ وَهْبٍ عَنْ مَالِكٍ