Sahih Bukhari | Volume 3 | Hadith Number 588

Narrated by 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?" No'aim bin 'Abdullah bought the slave and the Prophet took its price and gave it to the owner.