Sunan an-Nasa'i, Volume 4, Book 27, Hadith 3511 (DarusSalam) ⓘ
It was narrated from Abu Hurairah that he heard the Messenger of Allah say when the Verse of Mula'anah (Li'an) was revealed: "Any woman who falsely attributes a man to people to whom he does not belong, has no share from Allah, and Allah will not admit her to His Paradise. Any man who denies his son while looking at him (knowing that he is indeed his son), Allah, the Mighty and Sublime, will cast him away, and disgrace him before the first and the last on the Day of Resurrection."
أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ عَبْدِ الْحَكَمِ، قَالَ شُعَيْبٌ قَالَ حَدَّثَنَا اللَّيْثُ، عَنِ ابْنِ الْهَادِ، عَنْ عَبْدِ اللَّهِ بْنِ يُونُسَ، عَنْ سَعِيدِ بْنِ أَبِي سَعِيدٍ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، أَنَّهُ سَمِعَ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ حِينَ نَزَلَتْ آيَةُ الْمُلاَعَنَةِ " أَيُّمَا امْرَأَةٍ أَدْخَلَتْ عَلَى قَوْمٍ رَجُلاً لَيْسَ مِنْهُمْ فَلَيْسَتْ مِنَ اللَّهِ فِي شَىْءٍ وَلاَ يُدْخِلُهَا اللَّهُ جَنَّتَهُ وَأَيُّمَا رَجُلٍ جَحَدَ وَلَدَهُ وَهُوَ يَنْظُرُ إِلَيْهِ احْتَجَبَ اللَّهُ عَزَّ وَجَلَّ مِنْهُ وَفَضَحَهُ عَلَى رُءُوسِ الأَوَّلِينَ وَالآخِرِينَ يَوْمَ الْقِيَامَةِ " .
also referenced under: Hadith 3481 (Reference) & Book 27, Hadith 93 (In-Book)