"عَنْ عَوْسَجَةَ، عَنِ ابْنِ عَبَّاسٍ أَنَّ رَجُلًا مَاتَ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ وَلَيْسَ لَهُ وَارثٌ إِلا غُلامٌ لَهُ هُوَ أَعْتَقَهُ، فَأَعْطَاهُ رَسُولُ اللهِ ﷺ مِيَرَاثَهُ".
a man died during the time of the Messenger of Allah ﷺ ,and he did not leave any heirs except for a slave that he had freed. So the Prophet gave him his inheritance
أَنَّ رَجُلاً مَاتَ عَلَى عَهْدِ رَسُولِ اللَّهِ ﷺ وَلَمْ يَدَعْ وَارِثًا إِلاَّ عَبْدًا هُوَ أَعْتَقَهُ فَأَعْطَاهُ النَّبِيُّ ﷺ مِيرَاثَهُ
a man died during the time of the Messenger of Allah ﷺ ,and he did not leave any heirs except for a slave that he had freed. So the Prophet gave him his inheritance (Using translation from Tirmidhī 2106)
عَنِ ابْنِ عَبَّاسٍ رَجُلٌ مَاتَ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ وَلَمْ يَتْرُكْ وَارِثًا إِلا عَبْدًا هُوَ أَعْتَقَهُ فَأَعْطَاهُ مِيرَاثَهُ
[Machine] A man died during the time of the Prophet Muhammad ﷺ, and he did not leave any inheritor except for his slave. So, the Prophet ﷺ set the slave free and gave him his inheritance.
«مَاتَ رَجُلٌ عَلَى عَهْدِ النَّبِيِّ ﷺ وَلَمْ يَتْرُكْ وَارِثًا إِلَّا عَبْدًا لَهُ فَأَعْتَقَهُ وَأَعْطَاهُ ﷺ مِيرَاثَهُ»