(As for) those who disbelieve and turn away from Allah's way, He shall render their works ineffective.
[47.001] The Holy Quran
I heard the Prophet saying, "Whoever claims to be the son of a person other than his father, and he knows that person is not his father, then Paradise will be forbidden for him." I mentioned that to Abu Bakra, and he said, "My ears heard that and my heart memorized it from Allah's Apostle
Sahih Bukhari Vol 8, Book 80, No 758: