Kaab bin Ujra reported,

The Messenger of Allah ﷺ came out to us while we were nine in number, five and four, one group from the Arabs and the other from the non-Arabs. He said, "Listen, have you heard that there will be rulers after me? Whoever enters upon them, affirms their lies, and assists them in their oppression is not from me, nor am I from him, and he will not come to me at the Pool. But whoever does not enter upon them, does not assist them in their oppression, and does not affirm their lies is from me, and I am from him, and he will come to me at the Pool."

Azami 858

Sahih

عن كعب بن عجرة، قال

خرج إلينا رسول الله ﷺ ونحن تسعة خمسة وأربعة أحد العددين من العرب، والآخر من العجم فقال: اسمعوا هل سمعتم أنه سيكون بعدي أمراء، فمن دخل عليهم فصدقهم بكذبهم، وأعانهم على ظلمهم فليس مني ولست منه، وليس بوارد علي الحوض، ومن لم يدخل عليهم ولم يعنهم على ظلمهم ولم يصدقهم بكذبهم فهو مني وأنا منه، وهو وارد علي.

الأعظمي 858صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in the Prophet ﷺ
Section
Faith in affirming the basin of the Prophet ﷺ and its attributes, and who among his nation will come to it and who will be driven away from it
Numbering
Jami al-Kamil 858 (2nd edition)
Azami 858