It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that during the blessed era of the Prophet (peace and blessings be upon him), a man passed away who had no heir except for a slave whom he had set free. The Prophet (peace and blessings be upon him) granted his inheritance to that very freed slave.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 3369
Hadith Gradingحکم دارالسلام:إسناده ضعيف، عوسجة مولي ابن عباس قال البخاري لم يصح حديثه