كتاب البيوع
7  
Business Transactions
Bulugh al-Maram 786
Narrated [Jabir bin 'Abdullah (RA)]:
A man among us declared that a slave belonging to him would be free after his death. However, he had no other property. So, the Prophet (ﷺ) sent for him (the slave) and sold him. [Agreed upon].
وَعَنْهُ قَالَ: { أَعْتَقَ رَجُلٌ مِنَّا عَبْداً لَهُ عَنْ دُبُرٍ لَمْ يَكُنْ لَهُ مَالٌ غَيْرُهُ.‏ فَدَعَا بِهِ اَلنَّبِيُّ ‏- صلى الله عليه وسلم ‏-فَبَاعَهُ } مُتَّفَقٌ عَلَيْهِ 1‏ .‏
Reference : Bulugh al-Maram 786
In-book reference : Book 7, Hadith 786
English translation : Book 7, Hadith 789
Hadith Text
Reference