It is narrated from Imran bin Husain (may Allah be pleased with him) that a man from among the Ansar made a bequest at the time of his death and freed six slaves, and he had no wealth other than them. Or he said (the narrator is unsure whether the words were): At the time of his death, he freed six slaves and had nothing besides them. This matter reached the Prophet ﷺ, and he ﷺ expressed strong displeasure at this. Then he ﷺ called for those slaves, divided them into three groups, and by drawing lots, freed two of them, and kept four as slaves (in the ownership of the heirs).
Hadith Referenceمسند الإمام الشافعي / كتاب العتق والولاء والمدبر والمكاتب وحسن الملكة / 1073