Sahih Muslim
The Book of Oaths
كتاب الأيمان
This hadith is transmitted through another chain. In the version of Isa, the slave is required to work for the share of the person who did not free him, without being overburdened.
Imran ibn Husayn reported that a man freed six slaves at the time of his death, and had no other property. The Messenger of Allah (ﷺ) summoned them, divided them into three groups, and drew lots. He freed two and kept four in bondage, and spoke sternly to the man.
This hadith is transmitted through another chain. In the version of al-Thaqafi, a man from the Ansar bequeathed the freedom of six slaves at the time of his death.
This hadith is reported from Imran ibn Husayn through another chain, with wording similar to the reports of Ibn Ulayya and Hammad.
Jabir ibn Abdullah reported that a man from the Ansar had arranged for his slave to be freed after his death, and had no other property. When this reached the Prophet (ﷺ), he asked who would buy the slave from him. Nuaim ibn Abdullah bought him for eight hundred dirhams, which the Prophet handed to the man. Amr said: I heard Jabir say that the slave was Coptic and died in the first year.
Jabir reported that a man from the Ansar, who had no other property, had arranged to free his slave after his death. The Messenger of Allah (ﷺ) sold him, and Ibn al-Nahham bought him. Jabir said he was a Coptic slave who died in the first year of Ibn al-Zubayr rule.
A report like the hadith of Hammad from Amr ibn Dinar concerning a slave whose freedom was deferred until after his master death is transmitted from Jabir through another chain.
Several chains from Jabir report the sale of a slave whose freedom had been deferred until after his master death, with the same general meaning as the narration of Hammad and Ibn Uyayna from Amr, from Jabir.