Imran bin Husayn reported,

A man freed six of his slaves at the time of his death, and he had no other property besides them. When this reached the Prophet ﷺ, he was angered by it and said, "I was about to refuse to perform the funeral prayer over him."Then he called for the slaves, divided them into three groups, and drew lots among them. He freed two and kept four in slavery.

Nasai 1960

Sahih

أخبرنا علي بن حجر قال أنبأنا هشيم عن منصور وهو ابن زاذان عن الحسن

عن عمران بن حصين

أن رجلا أعتق ستة مملوكين له عند موته ولم يكن له مال غيرهم فبلغ ذلك النبي ﷺ فغضب من ذلك وقال لقد هممت أن لا أصلي عليه ثم دعا مملوكيه فجزأهم ثلاثة أجزاء ثم أقرع بينهم فأعتق اثنين وأرق أربعة

النسائي 1960صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Funerals
Chapter
Prayer for one who is unjust in his bequest
Numbering
Darussalam 1960
Nasai 1960