(16) باب مَنْ بَاعَ مَالَ الْمُفْلِسِ أَوِ الْمُعْدِمِ فَقَسَمَهُ بَيْنَ الْغُرَمَاءِ، أَوْ أَعْطَاهُ حَتَّى يُنْفِقَ عَلَى نَفْسِهِ
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.
Reference: Sahih al-Bukhari 2403
In-book reference: Book 43, Hadith 19
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 41, Hadith 588