The Book of the Prohibited actions
Riyad as-Salihin #1123
كتاب الأمور المنهي عنها
عن سعد بن أبي وقاص رضي الله عنه أن النبي صلى الله عليه وسلم قال: «من ادعى إلى غير أبيه وهو يعلم أنه غير أبيه، فالجنة عليه حرام» ((متفق عليه)).
Sa'd bin Abu Waqqas (May Allah be pleased with him) said:
The Prophet (ﷺ) said, “He who (falsely) attributes his fatherhood to anyone besides his real father, knowing that he is not his father, will be forbidden to enter Jannah.”.
عن سعد بن أبي وقاص رضي الله عنه أن النبي صلى الله عليه وسلم قال: "من ادعى إلى غير أبيه وهو يعلم أنه غير أبيه، فالجنة عليه حرام" ((متفق عليه)).
The Prophet (ﷺ) said, "He who (falsely) attributes his fatherhood to anyone besides his real father, knowing that he is not his father, will be forbidden to enter Jannah.".
— Riyad as-Salihin, Hadith 1123