Hadith 17:802
Abu Mu’awiyah narrated to us, from ‘Asim, from Abu ‘Uthman, from Sa’d and Abu Bakrah, both of them saying: My two ears heard it and my heart preserved it, Muhammad (may Allah bless him and grant him peace) saying: "Whoever claims [to be the son of] someone other than his father, while he knows that he is not his father, then Paradise is forbidden to him."
حدثنا أبو معاوية عن عاصم عن أبي عثمان عن سعد وأبي بكرة كلاهما يقول سمعته أذناي ووعاه قلبي محمدا صلى الله عليه وسلم يقول من ادعى إلى غير أبيه وهو يعلم أنه غير أبيه فالجنة عليه حرام