Sahih al-Bukhari #6768
Laws of Inheritance (Al-Faraa'id) 85:44
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."