The Prophet ﷺ said, "You claim that my kinship will not benefit my people. By Allah, my ties of kinship are joined in this world and the next. On the Day of Resurrection, a group of people will be raised before me and ordered toward the left. One man will call out, 'Muhammad, I am so-and-so, son of so-and-so,' and another will say, 'I am so-and-so, son of so-and-so.' I will reply, 'As for the lineage, I recognize it, but you introduced innovations after me and turned back on your heels in retreat.'"
حدثنا أبو النضر حدثنا شريك عن عبد الله بن محمد بن عقيل عن سعيد بن المسيب
عن النبي ﷺ أنه قال تزعمون أن قرابتي لا تنفع قومي والله إن رحمي موصولة في الدنيا والآخرة إذا كان يوم القيامة يرفع لي قوم يؤمر بهم ذات اليسار فيقول الرجل يا محمد أنا فلان بن فلان ويقول الآخر أنا فلان بن فلان فأقول أما النسب قد عرفت ولكنكم أحدثتم بعدي وارتددتم على أعقابكم القهقرى
No references are available.
Its isnad is hasan, because of Sharik bin Abdullah Nakhai and Abdullah bin Muhammad bin Aqeel, and the hadith has previously appeared at 11081.