حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا زَيْدُ بْنُ الْحُبَابِ، عَنْ مُوسَى بْنِ عُبَيْدَةَ، حَدَّثَنِي يَحْيَى بْنُ حَرْبٍ، عَنْ سَعِيدِ بْنِ أَبِي سَعِيدٍ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، قَالَ لَمَّا نَزَلَتْ آيَةُ اللِّعَانِ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَيُّمَا امْرَأَةٍ أَلْحَقَتْ بِقَوْمٍ مَنْ لَيْسَ مِنْهُمْ فَلَيْسَتْ مِنَ اللَّهِ فِي شَىْءٍ وَلَنْ يُدْخِلَهَا جَنَّتَهُ وَأَيُّمَا رَجُلٍ أَنْكَرَ وَلَدَهُ وَقَدْ عَرَفَهُ احْتَجَبَ اللَّهُ مِنْهُ يَوْمَ الْقِيَامَةِ وَفَضَحَهُ عَلَى رُءُوسِ الأَشْهَادِ ‏"‏ ‏.‏

It wasnarrated that Abu Hurairah said: “Then the Verse of Li’an wasrevealed, the Messenger of Allah (PBUH) said: ‘Any woman whoattributedher child to people to whom he does not belong, then shehas norelation to (the religion of) Allah, and she will never enterParadise, and any man who rejects his child, while he recognizes him,Allah will screen Himself from him on the Day of Resurrection anddisgrace him before the witnesses.’” Translation Not Available

Book Ref: Sunan Ibn Majah Book 23 Hadith 2743
Web Ref:  Sunan Ibn Majah Vol 4 Book 23 Hadith 2743