Hazrat Abdullah bin Umar (may Allah be pleased with them) narrated that the Prophet Muhammad (peace and blessings be upon him) said: It is obligatory for a Muslim to listen to and obey the leader, in matters that he likes and also in matters that he dislikes, as long as he is not commanded to commit a sin. But when he is commanded to commit a sin, then listening and obeying are no longer required.
Hadith Referenceاللؤلؤ والمرجان / كتاب الإمارة / 1205
Hadith Gradingمحدثین:«صحیح»
Hadith Takhrij«صحیح، أخرجه البخاري في: 93 كتاب الأحكام: 4 باب السمع والطاعة للإمام ما لم تكن معصية»