وعن أبي هريرة رضي الله عنه أنه سمع رسول الله صلى الله عليه وآله وسلم يقول حين نزلت آية المتلاعنين : «أيما امرأة أدخلت على قوم من ليس منهم فليست من الله في شيء ولم يدخلها الله جنته وأيما رجل جحد ولده وهو ينظر إليه احتجب الله عنه وفضحه على رؤوس الأولين والآخرين ». أخرجه أبو داود والنسائي وابن ماجه وصححه ابن حبان.
Narrated Abu Hurairah (RA): He heard Allah's Messenger (ﷺ) say, when the Verse (24:6) about invoking curses came down, "Any woman who brings into a family one who does belong to it, is not an observer of Allah's (religion), and Allah will not admit her into His Paradise. Likewise, Allah will veil Himself from any man who disowns his child while he knows that is his child, and will humiliate him in the presence of the first and last (creatures)." [Abu Dawud, an-Nasa'i and Ibn Majah reported it; and Ibn Hibban graded it Sahih (authentic)].
Related hadith on this topic
Explanation & Benefits
Hafiz Muhammad Ameen
(1) "Who is not from among them" — that is, he is the result of adultery, but she attributes him to the husband.
(2) "Has no connection with Allah, the Exalted" — this is hyperbole; the apparent words are not intended. The meaning is that it is a very grave sin which can become a cause for deprivation from Allah, the Exalted, and His mercy. Or, the following sentence, "Allah, the Exalted, will not admit him to Paradise," is its explanation.
(3) "While the child is looking at him" — this translation is also possible: "While the man is looking at the child, realizing that he is indeed his." And Allah knows best.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 3511
Shaykh Umar Farooq Saeedi
Benefits and Issues:
If a woman commits adultery somewhere and becomes pregnant, and then attributes the child to her husband and his people, or if a father, without any valid or legitimate reason, denies his own child, then both of these are extremely detestable and vile acts.
And both of these actions are among the major sins (kaba'ir).
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 2263