“I heard Sa'd and Abu Bakrah both say that they heard directly from Muhammad ﷺ saying it and memorized: 'Whoever claims to belong to someone other than his father knowing the he is not his father, Paradise will be forbidden to him.” (Using translation from Ibn Mājah 2610)
أَنَّ مَنْ ادَّعَى إِلَى غَيْرِ أَبِيهِ وَهُوَ يَعْلَمُ أَنَّهُ غَيْرُ أَبِيهِ فَالْجَنَّةُ عَلَيْهِ حَرَامٌ قَالَ فَلَقِيتُ أَبَا بَكْرَةَ فَحَدَّثْتُهُ فَقَالَ وَأَنَا سَمِعَتْ أُذُنَايَ وَوَعَى قَلْبِي مِنْ مُحَمَّدٍ ﷺ