Narrated Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: Whoever obeys me has obeyed Allah, and whoever disobeys me has disobeyed Allah. And whoever obeys the leader appointed by me has obeyed me, and whoever disobeys my appointed leader has disobeyed me. (But if the leader's command is against the Qur'an and Hadith, then it should be abandoned and the Qur'an and Hadith should be followed.)
Hadith Referenceاللؤلؤ والمرجان / كتاب الإمارة / 1204
Hadith Gradingمحدثین:«صحیح»
Hadith Takhrij«صحیح، أخرجه البخاري في: 93 كتاب الأحكام: 1 باب قول الله تعالى (أطيعوا الرسول وأولى الأمر منكم»