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 supports them in their oppression is not from me, and I am not from him, and he will not come to me at the Pool. But whoever does not enter upon them, does not support 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 7670

Sahih

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

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

الأعظمي 7670صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Leadership
Section
Rule of the foolish, and prohibition of helping them in their oppression
Numbering
Jami al-Kamil 7670 (2nd edition)
Azami 7670