Abu Hurairah reported,

When the verse of liaan was revealed, the Messenger of Allah ﷺ said, "Any woman who attributes to a people a child who does not belong to them has nothing to do with Allah, and He will never admit her into His paradise. And any man who denies his own child while knowing him to be his, Allah will veil Himself from him on the Day of Resurrection and expose him before all the witnesses."

Ibn Majah 2743

Hasan

حدثنا أبو بكر بن أبي شيبة حدثنا زيد بن الحباب عن موسى بن عبيدة حدثني يحيى بن حرب عن سعيد بن أبي سعيد المقبري

عن أبي هريرة قال

لما نزلت آية اللعان قال رسول الله ﷺ أيما امرأة ألحقت بقوم من ليس منهم فليست من الله في شيء ولن يدخلها جنته وأيما رجل أنكر ولده وقد عرفه احتجب الله منه يوم القيامة وفضحه على رءوس الأشهاد

ابن ماجه 2743حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Obligatory duties
Chapter
One who denies his child
Numbering
Darussalam 2743
Ibn Majah 2743