Waail bin Hajar reported,

Salama bin Yazid Jafi asked the Messenger of Allah ﷺ, "Prophet of Allah, what is your view if rulers come to power over us who demand their rights from us but withhold our rights from us? What do you command us to do?"The Messenger of Allah ﷺ turned away from him. Then he asked again, and he turned away from him. Then he asked a second or third time, so Ashath bin Qays pulled him back.The Prophet ﷺ said, "Listen and obey, for upon them is what they have been charged with and upon you is what you have been charged with."In another narration, Ashath bin Qays pulled him back, and the Messenger of Allah ﷺ said the same.

Azami 12891

Sahih

عن وائل الحضرمي قال

سأل سلمة بن يزيد الجعفي رسول الله ﷺ، فقال: يا نبي الله، أرأيت إن قامت علينا أمراء يسألونا حقهم، ويمنعونا حقنا، فما تأمرنا؟ فأعرض عنه، ثم سأله، فأعرض عنه، ثم سأله في الثانية أو في الثالثة، فجذبه الأشعث بن قيس، وقال: اسمعوا وأطيعوا فإنما عليهم ما حملوا وعليكم ما حملتم. وفي رواية: فجذبه الأشعث بن قيس فقال رسول الله ﷺ، فذكر مثله.

الأعظمي 12891صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Nur
Section
His saying, "Say, obey Allah and obey the Messenger. But if you turn away, then upon him is only what he has been charged with, and upon you is what you have been charged with. And if you obey him, you will be guided. And there is not upon the Messenger except clear notification"
Numbering
Jami al-Kamil 12891 (2nd edition)
Azami 12891