Sunnah.com reference : Book 8, Hadith 158English translation : Book 8, Hadith 1111Arabic reference : Book 8, Hadith 1100
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)].
وَعَنْ أَبِي هُرَيْرَةَ ‏- رضى الله عنه ‏- { أَنَّهُ سَمِعَ رَسُولَ اَللَّهِ ‏- صلى الله عليه وسلم ‏-يَقُولُ ‏-حِينَ نَزَلَتْ آيَةُ اَلْمُتَلَاعِنَيْنِ‏-: "أَيُّمَا اِمْرَأَةٍ أَدْخَلَتْ عَلَى قَوْمٍ مَنْ لَيْسَ مِنْهُمْ, فَلَيْسَتْ مِنْ اَللَّهِ فِي شَيْءٍ, وَلَنْ يُدْخِلَهَا اَللَّهُ جَنَّتَهُ, وَأَيُّمَا رَجُلٍ جَحَدَ وَلَدَهُ ‏-وَهُوَ يَنْظُرُ إِلَيْهِ‏- اِحْتَجَبَ اَللَّهُ عَنْهُ, وَفَضَحَهُ اَللَّهُ عَلَى رُءُوسِ اَلْخَلَائِقِ اَلْأَوَّلِينَ وَالْآخِرِينَ }  أَخْرَجَهُ أَبُو دَاوُدَ, وَالنَّسَائِيُّ, وَابْنُ مَاجَهْ, وَصَحَّحَهُ اِبْنُ حِبَّان َ  1‏‏1 ‏- ضعيف.‏ رواه أبو داود (2263)‏، والنسائي (679 ‏- 80)‏، وابن ماجه (2743)‏، وابن حبان (1335)‏.‏