رِيَاضُ الصَّالِحِينَ
Riyad as-Salihin 666
The Book of Miscellany
Obligation of Obedience to the Ruler in what is Lawful and Prohibition of Obeying them in what is Unlawful
وَعَنْ أبى هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ “عَلَيْكَ السَّمْعَ وَالطَّاعَةَ فِي عُسْرِكَ وَيُسْرِكَ وَمَنْشَطِكَ، وَمَكْرَهِكَ وَأَثَرَةٍ عَلَيْكَ” ((رَوَاهُ مُسْلِم)).
Abu Hurairah (May Allah be pleased with him) reported: The Messenger of Allah (ﷺ) said, "It is obligatory upon you to listen and obey the orders of the ruler in prosperity and adversity, whether you are willing or unwilling, or when someone is given undue preference to you." [Muslim].
Riyad as-Salihin, 666