Narrated Jabir bin `Abdullah:A man amongst us declared that his slave would be freed after his death. The Prophet (ﷺ) called for that slave and sold him. The slave died the same year
Hadith No. 2534
Sahih al Bukhari