ابن حجر العسقلاني
Al-Mawardi said that if the rulers meet their Islamic responsibilities to the public the people must obey their laws, but a Caliph or ruler who becomes either unjust or severely ineffective must be impeached via the Majlis al-Shura. Al-Juwayni argued that Islam is the goal of the ummah, so any ruler who deviates from this goal must be impeached. Al-Ghazali believed that oppression by a caliph is sufficient grounds for impeachment. Rather than just relying on impeachment, Ibn Hajar al-Asqalani stated that the people have an obligation to rebel if the caliph begins to act with no regard for Islamic law. Ibn Hajar al-Asqalani said that to ignore such a situation is "haraam" and those who cannot revolt from inside the caliphate should launch a struggle from outside. Al-Asqalani used two ayahs from the Qur'an to justify this: