Saad bin Abu Waqqas reported,

My ears heard and my heart retained that whoever claims to belong to someone other than his father, knowing he is not his father, paradise is forbidden to him.He said, "I met Abu Bakrah and related this to him, and he said, 'My ears too heard it and my heart retained it from Muhammad ﷺ.'"

Ahmad 20396

Sahih

حدثنا إسماعيل حدثنا عاصم الأحول عن أبي عثمان النهدي قال سمعت

سعدا يقول

سمعت أذناي ووعى قلبي أن من ادعى إلى غير أبيه وهو يعلم أنه غير أبيه فالجنة عليه حرام قال فلقيت أبا بكرة فحدثته فقال وأنا سمعت أذناي ووعى قلبي من محمد ﷺ

أحمد 20396صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Bakra Nufay bin Harith Thaqafi
Numbering
Darussalam 20396
Ahmad 20396