Sahih al-Bukhari #2403
Loans, Payment of Loans, Freezing of Property, Bankruptcy 43:19
Narrated Jabir bin `Abdullah:
A man pledged that his slave would be manumitted after his death. The Prophet (ﷺ) asked, "Who will buy the slave from me?" Nu'aim bin `Abdullah bought the slave and the Prophet (ﷺ) took its price and gave it to the owner.