It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that "A man died in the blessed time of the Prophet (peace and blessings be upon him) and left behind no close relative (entitled to inherit) except a slave whom he himself had freed. So the Prophet (peace and blessings be upon him) said: 'Give his inheritance to him (the freed slave).'"
Hadith Referenceمسند أبي يعلى الموصلي / أول مسند ابن عباس / 2399
Hadith Takhrij«قال سعيد بن محمد السناري: ضيعف» «أخرجه سنن الترمذي برقم: 2106، وأخرجه سنن أبي داود برقم: 2905، وأخرجه سنن ابن ماجه برقم: 2741، وأخرجه مصنف عبد الرزاق برقم: 16191، وأخرجه المستدرك على الصحيحين برقم: 8079، وأخرجه المعجم الكبير للطبراني برقم: 11925، 12209، 12210، 12211، وأخرجه السنن الكبرى للنسائي برقم: 6662، وأخرجه شرح مشكل الآثار برقم: 3882، مسند ابویعلیٰ ترقیم الاثری: 2395»