The 'Prophet said, "It is obligatory for one to listen to and obey (the ruler's orders) unless these orders involve one disobedience (to Allah); but if an act of disobedience (to Allah) is imposed, he should not listen to or obey it."
Referencia y fuente completas
Sahih al-Bukhari 2955
In-book : Book 56, Hadith 167
USC-MSA web (English) : Vol. 4, Book 52, Hadith 203 (deprecated)
Referencias, traducciones y números varían entre ediciones. El número de la URL identifica un registro de la app, no una numeración universal. Solo se muestran los grados proporcionados, sin una nueva evaluación.