Sahih al-Bukhari, Book 85, Hadith 44 (Bukhari 6522)

Narrated Abu Huraira:

The Prophet (ﷺ) said, "Do not deny your fathers (i.e. claim to be the sons of persons other than your fathers), and whoever denies his father, is charged with disbelief."