Abdullah bin Abbas reported,

The Prophet ﷺ said, "Whoever sees something in his ruler that he dislikes, let him be patient with it, for whoever departs from the community by even a handspan and then dies, dies the death of pre-Islamic ignorance."

Azami 7636

Sahih

عن عبد الله بن عباس

عن النبي ﷺ قال: من رأى من أميره شيئا يكرهه فليصبر عليه، فإنه من فارق الجماعة شبرا فمات إلا مات ميتة جاهلية.

الأعظمي 7636صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Leadership
Section
Injustice of the ruler and his selfishness do not prevent hearing and obeying
Numbering
Jami al-Kamil 7636 (2nd edition)
Azami 7636