كتاب الإمارة
33  
The Book on Government
(12)
Chapter: Obeying Rulers even if they withhold the people's rights
(12)
باب فِي طَاعَةِ الأُمَرَاءِ وَإِنْ مَنَعُوا الْحُقُوقَ
Sahih Muslim 1846 b

It has been narrated through a different chain of transmitters, on the authority of Simak who said:

Ash'ath b. Qais pulled him (Salama b. Yazid) when the Messenger of Allah (ﷺ) said: Listen to them and obey them, for on them shall be the burden of what they do and on you shall be the burden of what you do.
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا شَبَابَةُ، حَدَّثَنَا شُعْبَةُ، عَنْ سِمَاكٍ، بِهَذَا الإِسْنَادِ مِثْلَهُ وَقَالَ فَجَذَبَهُ الأَشْعَثُ بْنُ قَيْسٍ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ اسْمَعُوا وَأَطِيعُوا فَإِنَّمَا عَلَيْهِمْ مَا حُمِّلُوا وَعَلَيْكُمْ مَا حُمِّلْتُمْ ‏"‏ ‏.‏
Reference : Sahih Muslim 1846b
In-book reference : Book 33, Hadith 80
USC-MSA web (English) reference : Book 20, Hadith 4552
  (deprecated numbering scheme)