Sahih al-Bukhari, Volume 3, Book 46, Hadith 711 (USC-MSA) ⓘ
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.
حَدَّثَنَا آدَمُ بْنُ أَبِي إِيَاسٍ، حَدَّثَنَا شُعْبَةُ، حَدَّثَنَا عَمْرُو بْنُ دِينَارٍ، سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ قَالَ أَعْتَقَ رَجُلٌ مِنَّا عَبْدًا لَهُ عَنْ دُبُرٍ، فَدَعَا النَّبِيُّ صلى الله عليه وسلم بِهِ فَبَاعَهُ. قَالَ جَابِرٌ مَاتَ الْغُلاَمُ عَامَ أَوَّلَ.
also referenced under: Book 49, Hadith 19 (In-Book) & Hadith 2534 (DarusSalam)