أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ ، أَخْبَرَنَا أَبُو الْحَسَنِ الْمِصْرِيُّ ، حَدَّثَنَا مُحَمَّدُ بْنُ عَمْرِو ابْنِ خَالِدٍ ، حَدَّثَنَا سَعِيدُ بْنُ أَسَدِ بْنِ مُوسَى ، حَدَّثَنَا مُؤَمَّلٌ ، عَنْ سُفْيَانَ الثَّوْرِيِّ ، عَنْ زُبَيْدٍ الْيَامِيِّ ، عَنْ جَابَانَ ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ : " لَا يَدْخُلُ الْجَنَّةَ مُدْمِنُ خَمْرٍ ، وَلَا قَاطِعُ رَحِمٍ ، وَلَا وَلَدُ زَنْيَةٍ ، وَلَا عَاقٌّ وَالِدَيْهِ ، وَلَا مَنْ أَتَى ذَاتَ مَحْرِمٍ " .
وَهُوَ إِنْ صَحَّ فَوَلَدُ الزِّنَا مَحْمُولٌ عَلَى مَنْ عَمِلَ عَمَلَ أَبَوَيْهِ ، وَاللَّهُ أَعْلَمُ . وَقَدْ ذَكَرْنَا فِي كِتَابِ " السُّنَنِ " سَائِرَ مَا قِيلَ فِيهِ .
It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Neither the habitual drinker of wine, nor the one who severs the ties of kinship, nor the child of fornication, nor the one who is disobedient to his parents, nor the one who commits adultery with a woman who is his mahram, will enter Paradise."
If this narration is established as authentic, then the child of fornication refers to the one who does the same deed as his parents. And Allah knows best. We have mentioned in the book "al-Sunan" the rest of what has been said about this.