It has been narrated on the authority of Alqama b. Wai'l al-Hadrami who learnt the tradition from his father. The latter said:
Salama b. Yazid al-ju'afi asked the Messenger of Allah (ﷺ): Prophet of Allah, what do you think if we have rulers who rule over us and demand that we discharge our obligations towards them, but they (themselves) do not discharge their own responsibilities towards us? What do you order us to do? The Messenger of Allah (ﷺ) avoided giving any answer. Salama asked him again. He (again) avoided giving any answer. Then he asked again-it was the second time or the third time-when Ash'ath b. Qais (finding that the Prophet was unnecessarily being pressed for answer) pulled him aside and said: Listen to them and obey them, for on them shall he their burden and on you shall be your burden.
Reported by Muslim (No. 1846a, 1846b) and At-Tirmidhi (No. 2199).
O Prophet of Allah, what if we are governed by rulers who seek their rights from us and deny us our rights, what do you command us to do? He turned away from him. Then he asked him, and he turned away from him. Then he asked him for the second or third time, so Al-Ash‘ath ibn Qays pulled him, and…
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا شَبَابَةُ، حَدَّثَنَا شُعْبَةُ، عَنْ سِمَاكٍ، بِهَذَا الإِسْنَادِ مِثْلَهُ وَقَالَ فَجَذَبَهُ الأَشْعَثُ بْنُ قَيْسٍ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم…
وعن أبى هنيدة وائل بن حجر رضي الله عنه قال: سأل سلمة بن يزيد الجعفي رسول الله صلى الله عليه وسلم ، فقال: يا نبي الله، أرأيت إن قامت علينا امراء يسألونا حقهم، ويمنعونا حقنا، فما تأمرنا؟ فأعرض عنه، ثم سأله، فقال…