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:21392[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Aḥmad b. Jaʿfar > ʿAbdullāh b. Aḥmad b. Ḥanbal from my father [Chain 2] Abū Aḥmad al-Ḥāfiẓ > Abū Bakr Muḥammad b. Isḥāq > ʿAlī b. Ḥujr And Ziyād b. Ayyūb > Ismāʿīl Wahū Ibn ʿUlayyah > Ayyūb > Abū Qilābah > Abū al-Muhallab > ʿImrān b. Ḥuṣayn

[Machine] That a man freed six slaves upon his death, as he did not have any other wealth besides them. So, the Messenger of Allah called for them and divided them into three groups. Then, he drew lots among them and freed two of them, and he treated the remaining four kindly and said to them harsh words.  

البيهقي:٢١٣٩٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَحْمَدُ بْنُ جَعْفَرٍ ثنا عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ حَدَّثَنِي أَبِي ح قَالَ وَأَخْبَرَنِي أَبُو أَحْمَدَ الْحَافِظُ أنبأ أَبُو بَكْرٍ مُحَمَّدُ بْنُ إِسْحَاقَ ثنا عَلِيُّ بْنُ حُجْرٍ وَزِيَادُ بْنُ أَيُّوبَ قَالُوا ثنا إِسْمَاعِيلُ وَهُوَ ابْنُ عُلَيَّةَ عَنْ أَيُّوبَ عَنْ أَبِي قِلَابَةَ عَنْ أَبِي الْمُهَلَّبِ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ

أَنَّ رَجُلًا أَعْتَقَ سِتَّةَ مَمْلُوكِينَ عِنْدَ مَوْتِهِ لَمْ يَكُنْ لَهُ مَالٌ غَيْرُهُمْ فَدَعَا بِهِمْ رَسُولُ اللهِ ﷺ فَجَزَّأَهُمْ أَثْلَاثًا ثُمَّ أَقْرَعَ بَيْنَهُمْ فَأَعْتَقَ اثْنَيْنِ وَأَرَقَّ أَرْبَعَةً وَقَالَ لَهُ قَوْلًا شَدِيدًا  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ عَلِيِّ بْنِ حُجْرٍ وَغَيْرِهِ 21393 وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو الْوَلِيدِ ثنا مُحَمَّدُ بْنُ نُعَيْمٍ ثنا قُتَيْبَةُ ثنا حَمَّادُ بْنُ زَيْدٍ عَنْ أَيُّوبَ فَذَكَرَهُ بِإِسْنَادِ ابْنِ عُلَيَّةَ وَمَعْنَاهُ رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ قُتَيْبَةَ

See similar narrations below:

Collected by Bayhaqī
bayhaqi:12592[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh Muḥammad b. ʿAbdullāh al-Ṣaffār > Ismāʿīl b. Isḥāq al-Qāḍī > Sulaymān b. Ḥarb And ʿĀrim b. al-Faḍl > Ḥammād b. Zayd [Chain 2] Abū al-Ḥasan ʿAlī b. Muḥammad al-Muqriʾ > al-Ḥasan b. Muḥammad b. Isḥāq > Yūsuf b. Yaʿqūb al-Qāḍī > Abū al-Rabīʿ > Ḥammād b. Zayd > Ayyūb > Abū Qilābah > Abū al-Muhallab > ʿImarān b. al-Ḥuṣayn

A man who had no other property emancipated six slaves of his at the time of the death. When the Prophet ﷺ was informed about it, he spoke severely of him. He then called them, divided them into three sections, cast lots among them, and emancipated two and kept four in slavery. (Using translation from Abū Dāʾūd 3958)   

البيهقي:١٢٥٩٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ عَبْدِ اللهِ الصَّفَّارُ ثنا إِسْمَاعِيلُ بْنُ إِسْحَاقَ الْقَاضِي ثنا سُلَيْمَانُ بْنُ حَرْبٍ وَعَارِمُ بْنُ الْفَضْلِ قَالَا ثنا حَمَّادُ بْنُ زَيْدٍ ح وَأَخْبَرَنَا أَبُو الْحَسَنِ عَلِيُّ بْنُ مُحَمَّدٍ الْمُقْرِئُ أنا الْحَسَنُ بْنُ مُحَمَّدِ بْنِ إِسْحَاقَ ثنا يُوسُفُ بْنُ يَعْقُوبَ الْقَاضِي ثنا أَبُو الرَّبِيعِ ثنا حَمَّادُ بْنُ زَيْدٍ عَنْ أَيُّوبَ عَنْ أَبِي قِلَابَةَ عَنْ أَبِي الْمُهَلَّبِ عَنْ عِمَرَانَ بْنِ الْحُصَيْنِ

أَنَّ رَجُلًا أَعْتَقَ سِتَّةَ أَعْبُدٍ لَهُ عِنْدَ مَوْتِهِ لَمْ يَكُنْ لَهُ مَالٌ غَيْرُهُمْ فَبَلَغَ ذَلِكَ النَّبِيَّ ﷺ فَقَالَ لَهُ قَوْلًا شَدِيدًا ثُمَّ دَعَاهُمْ فَجَزَّأَهُمْ فَأَقْرَعَ بَيْنَهُمْ فَأَعْتَقَ اثْنَيْنِ وَأَرَقَّ أَرْبَعَةً وَفِي رِوَايَةِ سُلَيْمَانَ فَجَزَّأَهُمْ ثَلَاثَةَ أَجْزَاءٍ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ قُتَيْبَةَ بْنِ سَعِيدٍ عَنْ حَمَّادِ بْنِ زَيْدٍ
bayhaqi:21364Abū ʿAbdullāh al-Ḥāfiẓ > ʿAbdullāh b. Muḥammad al-Kaʿbī > Ismāʿīl b. Qutaybah > Abū Bakr b. Abū Shaybah > Ismāʿīl / Ibn ʿUlayyah > Ayyūb > Abū Qilābah > Abū al-Muhallab > ʿImrān b. Ḥuṣayn

'Imran b. Husain reported that a person who had no other property emancipated six slaves of his at the time of his death. Messenger of Allah ﷺ called for them and divided them into three sections, cast lots amongst them, and set two free and kept four in slavery; and he (the Holy Prophet) spoke severely of him. (Using translation from Muslim 1668a)   

البيهقي:٢١٣٦٤فَفِيمَا أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ عَبْدُ اللهِ بْنُ مُحَمَّدٍ الْكَعْبِيُّ ثنا إِسْمَاعِيلُ بْنُ قُتَيْبَةَ ثنا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ثنا إِسْمَاعِيلُ وَهُوَ ابْنُ عُلَيَّةَ عَنْ أَيُّوبَ عَنْ أَبِي قِلَابَةَ عَنْ أَبِي الْمُهَلَّبِ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ

أَنَّ رَجُلًا أَعْتَقَ سِتَّةَ مَمْلُوكِينَ عِنْدَ مَوْتِهِ لَمْ يَكُنْ لَهُ مَالٌ غَيْرُهُمْ فَدَعَاهُمْ رَسُولُ اللهِ ﷺ فَجَزَّأَهُمْ أَثْلَاثًا ثُمَّ أَقْرَعَ بَيْنَهُمْ فَأَعْتَقَ اثْنَيْنِ وَأَرَقَّ أَرْبَعَةً وَقَالَ لَهُ قَوْلًا شَدِيدًا  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي بَكْرِ بْنِ أَبِي شَيْبَةَ