Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:19995ʿAlī b. Aḥmad b. ʿAbdān > Abū al-Qāsim al-Ṭabarānī > ʿAlī b. ʿAbd al-ʿAzīz > Abū Ḥudhayfah > Sufyān > Suhayl from his father > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ was asked about the child of fornication, and he said, "He is among the worst three." Sufyan (may Allah be pleased with him) explained, meaning when he follows the actions of his parents.  

البيهقي:١٩٩٩٥أَخْبَرَنَاهُ عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ أَبُو الْقَاسِمِ الطَّبَرَانِيُّ ثنا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا أَبُو حُذَيْفَةَ ثنا سُفْيَانُ عَنْ سُهَيْلٍ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ ؓ قَالَ

سُئِلَ رَسُولُ اللهِ ﷺ عَنْ وَلَدِ الزِّنَا فَقَالَ هُوَ شَرُّ الثَّلَاثَةِ قَالَ سُفْيَانُ يَعْنِي إِذَا عَمِلَ بِعَمَلِ وَالِدَيْهِ  


See similar narrations below:

Collected by Aḥmad
ahmad:24784Aswad b. ʿĀmir > Isrāʾīl > Ibrāhīm b. Isḥāq > Ibrāhīm b. ʿUbayd b. Rifāʿah > ʿĀʾishah

[Machine] The Messenger of Allah ﷺ said, "He is the worst of the three when he acts upon the deed of his parents, meaning the child of adultery."  

أحمد:٢٤٧٨٤حَدَّثَنَا أَسْوَدُ بْنُ عَامِرٍ قَالَ حَدَّثَنَا إِسْرَائِيلُ قَالَ حَدَّثَنَا إِبْرَاهِيمُ بْنُ إِسْحَاقَ عَنْ إِبْرَاهِيمَ بْنِ عُبَيْدِ بْنِ رِفَاعَةَ عَنْ عَائِشَةَ قَالَتْ

قَالَ رَسُولُ اللهِ ﷺ هُوَ شَرُّ الثَّلَاثَةِ إِذَا عَمِلَ بِعَمَلِ أَبَوَيْهِ يَعْنِي وَلَدَ الزِّنَا