Abu Hurairah reported,

The Messenger of Allah ﷺ said, "My allies on the Day of Resurrection are the God-fearing, even if another's lineage is closer than theirs. Let people not come to me with mere deeds while you come bearing the world on your shoulders, saying, 'Muhammad!' For I will say like this and like this, 'No,'" and he turned away to either side.

Azami 13998

Hasan

عن أبي هريرة

أن رسول الله ﷺ قال: إن أوليائي يوم القيامة المتقون، وإن كان نسب أقرب من نسب، فلا يأتيني الناس بالأعمال، وتأتون بالدنيا تحملونها على رقابكم، فتقولون: يا محمد! فأقول هكذا وهكذا: لا وأعرض في كلا عطفيه.

الأعظمي 13998حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Noble character
Section
Lineage
Numbering
Jami al-Kamil 13998 (2nd edition)
Azami 13998