The Prophet (peace and blessings be upon him) said:
"Whoever knowingly attributes himself to someone other than his father, Paradise is forbidden to him."
Hadith Referenceصحیح الجامع الصغیر / حرف الميم / 5989
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[حم ق د هـ] عن سعد وأبي بكرة. مختصر مسلم ٤٩، غاية المرام ٢٦٧.