حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا سُلَيْمَانُ بْنُ بِلاَلٍ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏"‏ كُفْرٌ بِامْرِئٍ ادِّعَاءُ نَسَبٍ لاَ يَعْرِفُهُ أَوْ جَحْدُهُ وَإِنْ دَقَّ ‏"‏ ‏.‏

It wasnarrated from ‘Amr bin Shu’aib, from his father, from hisgrandfather, that the Prophet (PBUH) said: “It is disbelief for amanto attribute himself to someone other than his father knowingly,or todeny his connection to his father, even subtly.”* Translation Not Available

Book Ref: Sunan Ibn Majah Book 23 Hadith 2744
Web Ref:  Sunan Ibn Majah Vol 4 Book 23 Hadith 2744