(8) باب وُجُوبِ طَاعَةِ الأُمَرَاءِ فِي غَيْرِ مَعْصِيَةٍ وَتَحْرِيمِهَا فِي الْمَعْصِيَةِ
It has been narrated on the authority of Abu Huraira that the Messenger of Allah (ﷺ) said:
Whoso obeys me obeys God; and whose disobeys me disobeys God. Whoso obeys my commander obeys me, and whoso disobeys my commander disobeys me.
Reference: Sahih Muslim 1835 c
In-book reference: Book 33, Hadith 47
USC-MSA web (English) reference(deprecated numbering scheme): Book 20, Hadith 4519
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.