BUKHARI 6768: from Abū Hurayrah —

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."

البخاري ٦٧٦٨: عن ابو هريره —

عَنِ النَّبِيِّ ﷺ قَالَ لاَ تَرْغَبُوا عَنْ آبَائِكُمْ فَمَنْ رَغِبَ عَنْ أَبِيهِ فَهُوَ كُفْرٌ


Agreed Upon (Luʿluʿ wa-al-Marjān)
Bukhārī > Laws of Inheritance > § Whoever claims to be the son of a person other than his...
hadithunlocked.com