Abdullah bin Abbas reported,

He reported that the Messenger of Allah ﷺ said, "There is no musaaah in Islam. Whoever engaged in musaaah during the Days of Ignorance is now joined to his paternal kin, and whoever claims a child born outside legitimate marriage, that child shall neither inherit nor be inherited from."

Abu Dawud 2264

Daif

حدثنا يعقوب بن إبراهيم حدثنا معتمر عن سلم يعني ابن أبي الزياد حدثني بعض أصحابنا عن سعيد بن جبير

عن ابن عباس

أنه قال قال رسول الله ﷺ لا مساعاة في الإسلام من ساعى في الجاهلية فقد لحق بعصبته ومن ادعى ولدا من غير رشدة فلا يرث ولا يورث

أبو داود 2264ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Divorce
Chapter
Claiming a child of adultery
Numbering
Darussalam 2264
Abu Dawud 2264