Rebelling (khuruj) against them is not permissible as long as they keep the prayer established and do not openly display disbelief.
As has already been discussed in detail earlier, in the section “On Fighting the Rebels.”
Moreover, the people of knowledge are agreed upon this issue.
[Al-Sayl al-Jarrar: 556/4]
➊ It is narrated from Umm Salamah (may Allah be pleased with her) that the Messenger of Allah ﷺ said: “Rulers will be appointed over you, some of whose actions you will approve of and some you will disapprove of. Whoever denied their evil actions is free of blame, and whoever disliked them is safe; but whoever approved of them and followed them (will be a loser and ruined).” The Companions (may Allah be pleased with them) asked, “Shall we fight them?” He ﷺ said:
لا ، ما صلولا ، ما صلوا
“No, as long as they keep the system of prayer established.”
[Muslim: 1854, Kitab al-Imarah: Bab Wujub al-Inkar ala al-Umara fima Yukhalif al-Shar’]
➋ It is narrated from Awf bin Malik al-Ashja’i (may Allah be pleased with him) that the Messenger of Allah ﷺ said: “The best of your rulers are those whom you love and who love you, and you pray for them and they pray for you; and the worst of your rulers are those whom you hate and who hate you, and you curse them and they curse you.” (The narrator said:) We said, “O Messenger of Allah! Should we not remove them at that time?” He ﷺ said:
لا ، ما أقاموا فيكم الصلاة ، لا ما أقاموا فيكم الصلاة
“No, as long as they continue to fulfil the obligation of establishing the prayer among you. No, as long as they remain committed to the obligation of establishing the prayer among you.”
“Beware! Whoever has a ruler appointed over him and sees him committing some act of disobedience to Allah, the Exalted, let him dislike the act of disobedience he commits, but let him not withdraw his hand from obedience.”
[Muslim: 1855, Kitab al-Imarah: Bab Khiyar al-A’immah wa Shirarihim]
➌ It is narrated from Ubadah bin al-Samit (may Allah be pleased with him): We pledged allegiance to the Messenger of Allah ﷺ that we would listen and obey in hardship and in ease, in willingness and unwillingness (in every condition), and that we would obey even if someone were given preference over us, and that we would not wrest authority from those who held it, and that wherever we were we would speak the truth, fearing in (matters of the commands of) Allah no blame from any blamer. And in one narration it is:
وعلي أن لا تنازع الأمر أهله إلا أن تروا كفرا بواحا ، عندكم من الله فيه برهان
“We will not wrest authority from those who hold it, unless we see open disbelief in them for which we have proof from Allah.”
[Bukhari: 7055, 7056, Kitab al-Fitan: Bab Qawl al-Nabi: Satarawna Ba’di Umuran Tunkirunaha, Muslim: 1709]
➍ It is narrated from Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah ﷺ said:
ومن رأى من أميره شيئا يكرهه فليصبر فإنه ليس أحد يفارق الجماعة شبرا فيموت إلا مات ميتة جاهلية
“Whoever sees something disliked in his ruler should be patient, for whoever separates from the community (its order) by even a hand’s span and then dies in that state, dies a death of the Jahiliyyah.”
[Bukhari: 7053 also, Muslim: 1849]
➎ It is narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah ﷺ said: “Whoever withdraws his hand from obedience to the ruler will meet Allah on the Day of Resurrection with no proof in his favour:
ومن مات وليس فى عنقه بيعة مات ميتة جاهلية
“And whoever dies without an oath of allegiance on his neck dies a death of the Jahiliyyah.”
[Muslim: 1851, Kitab al-Imarah: Bab Wujub Mulazamah Jama’ah al-Muslimin inda Zuhur al-Fitan]
➏ It is narrated from Arfajah (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
أنه سيكون هنات وهنات فمن أراد أن يفرق أمر هذه الأمة وهـي جميـع فـاضربوه بالسيف كائنا من كان
“In the future there will be trials and disorders. So whoever wishes to tear apart the unity of this Ummah, kill him with the sword, whoever he may be.”
[Muslim: 1852, Kitab al-Imarah: Bab Hukm man Farraqa Amr al-Muslimin wa Huwa Mujtami’]
➐ It is narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah ﷺ said:
من حمل علينا السلاح فليس منا
“Whoever takes up arms against us is not one of us.”
[Bukhari: 7070, Kitab al-Fitan: Bab Qawl al-Nabi man Hamala Alayna al-Silah fa-Laysa Minna, Muslim: 98]
❀ The “Imamah” (leadership) mentioned in the hadiths does not refer to the linguistic sense of imamah, which would include every ruler and those who follow him in any capacity. Rather, what is meant is the specific shar’i imamah (that is, that there be one caliph for all the Muslims, Arab and non-Arab).
[Al-Sayl al-Jarrar: 506/4]
(The majority) Rebelling is not valid even against oppressive and tyrannical rulers as long as they fulfil the obligation of establishing the prayer. However, some people of knowledge hold it to be permissible on the basis of the hadiths on امر بالمعروف and نهي عن المنكر, but these hadiths are general while the issue of imamah is specific, so there is no conflict between the general and the specific.
[Al-Rawdah al-Nadiyyah: 778/2]