Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:21533Abū ʿAbdullāh al-Ḥāfiẓ > ʿAbd al-Raḥman b. al-Ḥasan al-Qāḍī > Ibrāhīm b. al-Ḥusayn > Ādam > Shuʿbah > ʿAmr b. Dīnār > Jābir b. ʿAbdullāh al-Anṣārī > Aʿtaq a man Minnā ʿAbd Lah

[Machine] The messenger of Allah called for Dhubur and sold him. Jabir said, "The boy only died in the first year."  

البيهقي:٢١٥٣٣أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي عَبْدُ الرَّحْمَنِ بْنُ الْحَسَنِ الْقَاضِي ثنا إِبْرَاهِيمُ بْنُ الْحُسَيْنِ ثنا آدَمُ ثنا شُعْبَةُ ثنا عَمْرُو بْنُ دِينَارٍ قَالَ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللهِ الْأَنْصَارِيَّ يَقُولُ أَعْتَقَ رَجُلٌ مِنَّا عَبْدًا لَهُ

عَنْ دُبُرٍ فَدَعَا بِهِ رَسُولُ اللهِ ﷺ فَبَاعَهُ قَالَ جَابِرٌ إِنَّمَا مَاتَ الْغُلَامُ عَامَ أَوَّلٍ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ آدَمَ

See similar narrations below:

Collected by Bukhārī
bukhari:2534Ādam b. Abū Iyās > Shuʿbah > ʿAmr b. Dīnār > Jābir b. ʿAbdullāh > Aʿtaq a man Minnā ʿAbd Lah

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.  

البخاري:٢٥٣٤حَدَّثَنَا آدَمُ بْنُ أَبِي إِيَاسٍ حَدَّثَنَا شُعْبَةُ حَدَّثَنَا عَمْرُو بْنُ دِينَارٍ سَمِعْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ ؓ قَالَ أَعْتَقَ رَجُلٌ مِنَّا عَبْدًا لَهُ

عَنْ دُبُرٍ فَدَعَا النَّبِيُّ ﷺ بِهِ فَبَاعَهُ قَالَ جَابِرٌ مَاتَ الْغُلاَمُ عَامَ أَوَّلَ