عَن الْحسن عَن سَمُرَة عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «من ملك ذَا رحم محرم فَهُوَ حُرٌّ» . رَوَاهُ التِّرْمِذِيُّ وَأَبُو دَاوُدَ وَابْنُ مَاجَه
Translation

Ibn ‘Umar reported God’s Messenger as saying, “If anyone emancipates a slave who owns property he gets the slave’s property, unless the master stipulates otherwise.” Abu Dawud and Ibn Majah transmitted it.