Bulugh al-Maram, Book 15, Hadith 1426 (In-Book)

’Imran bin Husain (RAA) narrated, ‘A man who had no other property emancipated six of his slaves at the time of his death. Allah’s Messengersent for them, and after dividing them into three groups, he cast lots among them, set two of them free and kept four in slavery, and spoke very harshly to the man (who emancipated them).’ Related by Muslim.

وَعَنْ عِمْرَانَ بْنِ حُصَيْنٍ رَضِيَ اَللَّهُ عَنْهُمَا; { أَنَّ رَجُلاً أَعْتَقَ سِتَّةً مَمْلُوكِينَ لَهُ, عِنْدَ مَوْتِهِ, لَمْ يَكُنْ لَهُ مَالٌ غَيْرَهُمْ, فَدَعَا بِهِمْ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-فَجَزَّأَهُمْ أَثْلَاثًا, ثُمَّ أَقْرَعَ بَيْنَهُمْ, فَأَعْتَقَ اِثْنَيْنِ, وَأَرَقَّ أَرْبَعَةً, وَقَالَ لَهُ قَوْلاً شَدِيدًا } رَوَاهُ مُسْلِم ٌ 1‏.‏ ‏1 ‏- صحيح.‏ رواه مسلم ( 1668 )‏.‏

sunnah.com

also referenced under: Book 15, Hadith 1470 (English)