Sunnah.com : Book 18, Hadith 295
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وعن أبي ذر رضي الله عنه أنه سمع رسول الله صلى الله عليه وسلم يقول: “ليس من رجل ادعى لغير أبيه وهو يعلمه إلا كفر، ومن ادعى ما ليس له، فليس منا، وليتبوأ مقعده من النار، ومن دعا رجلاً بالكفر، أو قال: عدو الله، وليس كذلك إلا حار عليه” ((متفق عليه وهذا لفظ رواية مسلم)).
Abu Dharr (May Allah be pleased with him) reported:
I heard the Messenger of Allah (ﷺ) saying: "A person who attributes his fatherhood to anyone other than his real father, knowing that he is not his father, commits an act of disbelief. And he who makes a claim of anything which in fact does not belong to him, is none of us. He should make his abode in Hell, and he who labels anyone as disbeliever or calls him the enemy of Allah and he is in fact not so, his charge will revert to him." [Al-Bukhari and Muslim].
Full reference and source
Sunnah.com : Book 18, Hadith 295 Arabic/English book : Book 18, Hadith 1805
View source on Sunnah.com (opens in a new tab)