It is narrated from Ibn Shihab: If a person, at the time of departing from this world, says that he is the freed slave of such-and-such person, he said: His wealth should be returned to those owners whom he identified at the time of his departure from this world, unless the heirs bring forth some stronger evidence besides this. Therefore, in the light of proof and testimony, his inheritance will be given to the rightful owner.
Hadith Referenceسنن دارمي / من كتاب الفرائض / 3135
Hadith Gradingتحقیق (حسین سلیم أسد الدارانی):إسناده ضعيف لضعف عبد الله بن صالح كاتب الليث، [مكتبه الشامله نمبر: 3144]
Hadith Takhrijاس اثر کی سند میں لیث اور ان کے کاتب عبداللہ بن صالح متکلم فیہما ضعیف ہیں، اور یونس: ابن یزید ہیں۔ «وانفرد به الدارمي»۔
Brief Explanation
(Commentary on Hadith 3134) The summary of all these narrations is that among the hamil and mawali, whichever one’s lineage is established by evidence will inherit.