Narrated Amr bin Shuaib: On his father's authority, said that his grandfather reported from the Prophet ﷺ something similar.
Hadith Referenceسنن ابي داود / كتاب الفرائض / 2908
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:ضعيف, إسناده ضعيف, الوليد بن مسلم لم يصرح بالسماع المسلسل وكان يدلس تدليس التسوية, انوار الصحيفه، صفحه نمبر 105
Benefits and Issues: Benefit: Since the lineage (nasab) of such a child, after being severed from the father, is attached to the mother, therefore, she alone will be his heir.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 2908