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:12382Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās > Yaḥyá > Yazīd > Ashʿath b. Sawwār > al-Ḥasan

[Machine] "The Prophet ﷺ went out to Al-Baqi' and saw a man being sold. He bargained with him, then left him. Another man bought him and set him free. Then, he came to the Prophet ﷺ and said, 'I bought this man and set him free. What do you think of it?' The Prophet ﷺ asked, 'What do you think of his companionship?' The man replied, 'If he shows gratitude to you, it will be good for him and bad for you. If he disobeys you, it will be good for you and bad for him.' The Prophet ﷺ asked, 'What do you think of his wealth?' The man replied, 'If he dies and has no heirs, his wealth will be yours.' This is how the messenger ﷺ came."  

البيهقي:١٢٣٨٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو قَالَا ثنا أَبُو الْعَبَّاسِ ثنا يَحْيَى أنا يَزِيدُ عَنْ أَشْعَثَ بْنِ سَوَّارٍ عَنِ الْحَسَنِ

أَنَّ النَّبِيَّ ﷺ خَرَجَ إِلَى الْبَقِيعِ فَرَأَى رَجُلًا يُبَاعُ فَسَاوَمَ بِهِ ثُمَّ تَرَكَهُ فَاشْتَرَاهُ رَجُلٌ فَأَعْتَقَهُ ثُمَّ أَتَى بِهِ النَّبِيَّ ﷺ فَقَالَ إِنِّي اشْتَرَيْتُ هَذَا فَأَعْتَقْتُهُ فَمَا تَرَى فِيهِ؟ قَالَ أَخُوكَ وَمَوْلَاكَ قَالَ مَا تَرَى فِي صُحْبَتِهِ؟ قَالَ إِنْ شَكَرَكَ فَهُوَ خَيْرٌ لَهُ وَشَرٌّ لَكَ وَإِنْ كَفَرَكَ فَهُوَ خَيْرٌ لَكَ وَشَرٌّ لَهُ قَالَ مَا تَرَى فِي مَالِهِ؟ قَالَ إِنْ مَاتَ وَلَمْ يَدَعْ وَارِثًا فَلَكَ مَالُهُ هَكَذَا جَاءَ مُرْسَلًا  


See similar narrations below:

Collected by Dārimī
darimi:3055Yazīd b. Hārūn > al-Ashʿath > al-Ḥasan

[Machine] It is narrated that the Prophet ﷺ went to Al-Baqi' and saw a man being sold. He approached him and bargained for him, then left him. Another man saw him and bought him, then set him free. He brought him to the Prophet ﷺ and said, "I have bought this man and set him free. What do you see in him?" The Prophet ﷺ said, "He is your brother and your freed slave." He asked, "What do you see in his companionship?" The Prophet ﷺ said, "If you show him gratitude, it is better for him and worse for you, and if you show him ingratitude, it is better for you and worse for him." He asked, "What do you see in his wealth?" The Prophet ﷺ said, "If he dies and leaves no heirs, then you are his inheritor."  

الدارمي:٣٠٥٥أَخْبَرَنَا يَزِيدُ بْنُ هَارُونَ أَنْبَأَنَا الْأَشْعَثُ عَنْ الْحَسَنِ

أَنَّ النَّبِيَّ ﷺ خَرَجَ إِلَى الْبَقِيعِ فَرَأَى رَجُلًا يُبَاعُ فَأَتَاهُ فَسَاوَمَ بِهِ ثُمَّ تَرَكَهُ فَرَآهُ رَجُلٌ فَاشْتَرَاهُ فَأَعْتَقَهُ ثُمَّ جَاءَ بِهِ إِلَى النَّبِيِّ ﷺ فَقَالَ إِنِّي اشْتَرَيْتُ هَذَا فَأَعْتَقْتُهُ فَمَا تَرَى فِيهِ؟ فَقَالَ «هُوَ أَخُوكَ وَمَوْلَاكَ» قَالَ مَا تَرَى فِي صُحْبَتِهِ؟ فَقَالَ «إِنْ شَكَرَكَ فَهُوَ خَيْرٌ لَهُ وَشَرٌّ لَكَ وَإِنْ كَفَرَكَ فَهُوَ خَيْرٌ لَكَ وَشَرٌّ لَهُ» قَالَ مَا تَرَى فِي مَالِهِ؟ قَالَ «إِنْ مَاتَ وَلَمْ يَتْرُكْ عَصَبَةً فَأَنْتَ وَارِثُهُ»