Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: He heard the Prophet Muhammad (peace and blessings be upon him) saying this at the time when the verse regarding the woman who performs li'an was revealed (the Prophet Muhammad, peace be upon him, said): "Any woman who introduces into a people someone who is not of them (i.e., gives birth to an illegitimate child), she will have no connection with Allah, and Allah will not admit her into His Paradise. And whoever denies his child, knowing that it is his offspring, Allah will keep that person veiled (from mercy) and will disgrace him in the presence of all the former and later people."
Hadith Referenceصحیح ابن حبان / كتاب النكاح / 4108
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيضعيف - «ضعيف أبي داود» (389).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده ضعيف