Hadithcore
Musnad Ahmad 1454
sahih· Darussalam

It was narrated that Abu "Uthman said:

When a claim was made concerning the father of Ziyad, I met Abu Bakrah, and said: “What have you done? I heard Sa"d bin Abi Waqqas say: My ears heard the Messenger of Allah (ﷺ) say, “Whoever claims to belong to a father in Islam who is not his father, knowing that he is not his father, Paradise will be forbidden for him." Abu Bakrah said: “And I (also) heard it from the Messenger of Allah (ﷺ).”

References1 variant
Arabic/English book
Book 8, Hadith 1454