A man emancipated six slaved at the time of his death and he had no other property. The Prophet ﷺ was informed about it. He cast lots among them, emancipated two and retained four in slavery. (Using translation from Abū Dāʾūd 3961)
أُتِيَ بِرَجُلٍ أَعْتَقَ سِتَّةَمَمْلُوكِينَ عِنْدَ مَوْتِهِ وَلَيْسَ لَهُ مَالٌ غَيْرُهُمْ فَأَقْرَعَ النَّبِيُّ ﷺ بَيْنَهُمْ فَأَعْتَقَ اثْنَيْنِ وَأَرَقَّ أَرْبَعَةً