عَنْ مُعَاذِ بْنِ جَبَلٍ رَضِيَ اللَّهُ عَنْهُ قَالَ انْتَسَبَ رَجُلَانِ مِنْ بَنِي إِسْرَائِيلَ عَلَى عَهْدِ مُوسَى عَلَيْهِ السَّلَامُ أَحَدُهُمَا مُسْلِمٌ وَالْآخَرُ مُشْرِكٌ فَانْتَسَبَ الْمُشْرِكُ قَالَ أَنَا فُلَانُ بْنُ فُلَانٍ حَتَّى بَلَغَ تِسْعَةَ آبَاءٍ ثُمَّ قَالَ لِصَاحِبِهِ انْتَسِبْ لَا أُمَّ لَكَ قَالَ أَنَا فُلَانُ بْنُ فُلَانٍ وَأَنَا بَرِيءٌ مِمَّا وَرَاءَ ذَلِكَ فَنَادَى مُوسَى عَلَيْهِ السَّلَامُ النَّاسَ فَجَمَعَهُمْ ثُمَّ قَالَ قَدْ قُضِيَ بَيْنَكُمَا أَمَّا الَّذِي انْتَسَبَ إِلَى تِسْعَةِ آبَاءٍ فَأَنْتَ فَوْقَهُمُ الْعَاشِرُ فِي النَّارِ وَأَمَّا الَّذِي انْتَسَبَ إِلَى أَبَوَيْهِ فَأَنْتَ امْرُؤٌ مِنْ أَهْلِ الْإِسْلَامِ
It is narrated from Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him) that in the time of Musa (peace be upon him), two men stated their lineage, one of them was a Muslim and the other a polytheist. While stating his lineage, the polytheist said: "I am so-and-so, son of so-and-so," (he mentioned nine generations), then he said to his counterpart: "May your mother not remain, state your lineage?" He replied: "I am so-and-so, son of so-and-so, and I disassociate from the ancestors after him." Thereupon, Musa (peace be upon him) gathered the people and said: "Judgment has been made between you two. The one who mentioned his lineage up to nine ancestors, he is the tenth of them, and all of you are in the Fire. And the man who mentioned his lineage up to his parents, he is among the people of Islam."