It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him): The Prophet (peace and blessings be upon him) said: "A child born of fornication will not enter Paradise, nor anyone of his descendants up to seven generations."
Al-Tabarani recorded it in al-Mu'jam al-Awsat. Its chain contains al-Husayn bin Idris, who is da'if (weak).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الحدود والديات / 10553
Hadith Gradingمحدثین:إسنادہ ضعیف
Hadith Takhrij«اخرجه الطبراني فى المعجم الاوسط “ (862) ، أخرجه المعجم الأوسط للطبراني برقم: 862، وأخرجه السنن الكبرى للنسائي برقم: 5159، 5160»