Huzaifa bin Yaman reported,

The Prophet ﷺ said, "There will come rulers who lie and oppress. Whoever believes their lies and assists them in their oppression is not of me, nor am I of him, and he will not come to me at the Pond. But whoever does not believe their lies and does not assist them in their oppression is of me, and I am of him, and he will come to me at the Pond."

Azami 860

Sahih

عن حذيفة

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

الأعظمي 860صحيح
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 860 (2nd edition)
Azami 860