Sahih al-Bukhari · Hadith 6768

Laws of Inheritance (Al-Faraa'id)

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