The Necessity of Obeying the Rulers in Obedience to Allah
Al-Bukhari recorded that Ibn `Abbas said that the Ayah,
أَطِيعُواْ اللَّهَ وَأَطِيعُواْ الرَّسُولَ وَأُوْلِى الاٌّمْرِ مِنْكُمْ
(Obey Allah and obey the Messenger, and those of you who are in authority.) "Was revealed about `Abdullah bin Hudhafah bin Qays bin `Adi, who the Messenger of Allah ﷺ sent on a military expedition." This statement was collected by the Group, with the exception of Ibn Majah At-Tirmidhi said, "Hasan, Gharib". Imam Ahmad recorded that `Ali said, "The Messenger of Allah ﷺ sent a troop under the command of a man from Al-Ansar. When they left, he became angry with them for some reason and said to them, `Has not the Messenger of Allah ﷺ commanded you to obey me' They said, `Yes.' He said, `Collect some wood,' and then he started a fire with the wood, saying, `I command you to enter the fire.' The people almost entered the fire, but a young man among them said, `You only ran away from the Fire to Allah's Messenger ﷺ. Therefore, do not rush until you go back to Allah's Messenger ﷺ, and if he commands you to enter it, then enter it.' When they went back to Allah's Messenger ﷺ , they told him what had happened, and the Messenger said,
«لَوْ دَخَلْتُمُوهَا مَا خَرَجْتُمْ مِنْهَا أَبَدًا، إِنَّمَا الطَّاعَةُ فِي الْمَعْرُوف»
(Had you entered it, you would never have departed from it. Obedience is only in righteousness.)" This Hadith is recorded in the Two Sahihs. Abu Dawud recorded that `Abdullah bin `Umar said that the Messenger of Allah ﷺ said,
«السَّمْعُ وَالطَّاعَةُ عَلَى الْمَرْءِ الْمُسْلِمِ فِيمَا أَحَبَّ وَكَرِهَ، مَا لَمْ يُؤْمَرْ بِمَعْصِيَةٍ، فَإِذَا أُمِرَ بِمَعْصِيَةٍ فَلَا سَمْعَ وَلَا طَاعَة»
(The Muslim is required to hear and obey in that which he likes and dislikes, unless he was commanded to sin. When he is commanded with sin, then there is no hearing or obeying.) This Hadith is recorded in the Two Sahihs. `Ubadah bin As-Samit said, "We gave our pledge to Allah's Messenger ﷺ to hear and obey (our leaders), while active and otherwise, in times of ease and times of difficulty, even if we were deprived of our due shares, and to not dispute this matter (leadership) with its rightful people. The Prophet said,
«إِلَّا أَنْ تَرَوْا كُفْرًا بَوَاحًا، عِنْدَكُمْ فِيهِ مِنَ اللهِ بُرْهَان»
(Except when you witness clear Kufr about which you have clear proof from Allah.)" This Hadith is recorded in the Two Sahihs. Another Hadith narrated by Anas states that the Messenger of Allah ﷺ said,
«اسْمَعُوا وَأَطِيعُوا، وَإِنْ أُمِّرَ عَلَيْكُمْ عَبْدٌحَبَشِيٌّ كَأَنَّ رَأْسَهُ زَبِيبَة»
(Hear and obey (your leaders), even if an Ethiopian slave whose head is like a raisin, is made your chief.) Al-Bukhari recorded this Hadith. Umm Al-Husayn said that she heard the Messenger of Allah ﷺ giving a speech during the Farewell Hajj, in which he said;
«وَلَوِ اسْتُعْمِلَ عَلَيْكُمْ عَبْدٌيَقُودُكُمْ بِكِتَابِ ا…