Islam teaches that Muslims should obey the law of the land in all that is lawful, and this includes Muslims who live as citizens or residents in non-Muslim countries, because of the commands to keep covenants and contracts, but obedience is never owed in an act of disobedience to Allah.
- The Qur'an commands the believers to fulfil their contracts (5:1) and to obey those in authority (4:59), and the Prophet (saw) said that there is no obedience in disobedience, and that obedience is only in what is right (Sahih al-Bukhari and Sahih Muslim).
- Scholars, such as those of the Council for European Fatwa and Research and the Marrakesh Declaration of 2016, hold that Muslims in the West live under a covenant of security and are bound to keep the laws, while some jurists in earlier centuries discussed the status of such lands in different terms.
- Where a law requires an act which is clearly forbidden, the Muslim does not comply with that act, and seeks lawful ways of redress, but this is the exception.
- A very small number of voices claim that man-made law is not binding at all, and the mainstream scholars reject this view.
Introduction
The question asks what Islam says about obeying the law of the land. It is asked most often by Muslims who live in countries where the law is not based on the sharia, and also by non-Muslims who wonder where a Muslim's loyalty lies. The answer rests on the commands of the Qur'an and Sunna about keeping agreements and obeying lawful authority, and on the practice of the earliest Muslims, who lived as a minority under a Christian ruler in Abyssinia.
The Qur'an commands the believers to keep their agreements:
يَا أَيُّهَا الَّذِينَ آمَنُوا أَوْفُوا بِالْعُقُودِ
"O you who believe, fulfil your contracts." (5:1)
The texts on obedience
The key verse is 4:59: O you who believe, obey Allah and obey the Messenger and those in authority among you. The commentators, such as al-Tabari and Ibn Kathir, understand those in authority as rulers and scholars, and agree that obedience to them is conditional on its being within the bounds of obedience to Allah. The Prophet (saw) said: the Muslim must hear and obey, in what he likes and dislikes, unless he is commanded to disobedience, and if he is commanded to disobedience, there is no hearing and no obedience (Sahih al-Bukhari and Sahih Muslim, from Ibn 'Umar (ra)). He said also that obedience is only in what is right (Sahih al-Bukhari and Sahih Muslim, from 'Ali (ra)). A report in Musnad Ahmad and elsewhere, which al-Albani graded sahih, says that there is no obedience to a creature in disobedience to the Creator.
The scholars therefore draw two points. The first is that obedience to lawful regulation is a religious duty, since it keeps order and prevents harm. Ibn Taymiyya in al-Siyasa al-Shar'iyya explains that the ruler's regulations in matters of public interest, such as traffic, taxation and the protection of the public, are binding as long as they do not contradict the sharia. The second is that no authority may command what Allah has forbidden.
Muslims living in non-Muslim countries
In classical jurisprudence, the status of lands was divided by many scholars into the abode of Islam and the abode of war, terms which are historical and not found in the Qur'an or Sunna. Muslims who entered a non-Muslim land with a pledge of safety (aman) were bound by that pledge. The Prophet (saw) said that the Muslims are bound by their conditions (Sunan Abi Dawud, graded sahih by al-Albani; Jami' al-Tirmidhi), and the Qur'an says: fulfil the covenant of Allah when you make it (16:91). Al-Shafi'i in al-Umm and al-Sarakhsi in al-Mabsut state that a Muslim who is given safety must not betray those who gave it, in property, life or honour. The same applies to a person who accepts a visa, a residence or a citizenship, since each carries a promise, expressed or understood, to respect the law.
Modern scholars of Muslim minorities have developed this into a branch known as fiqh al-aqalliyyat, the jurisprudence of minorities, associated with Taha Jabir al-Alwani, Yusuf al-Qaradawi, 'Abdullah bin Bayyah and the European Council for Fatwa and Research. They hold that the Muslims of the West live in a land of covenant or of invitation (dar 'ahd or dar da'wa), where they must keep the law and may take part in civil life, vote and serve. The Marrakesh Declaration of 2016, issued by a gathering of scholars and officials, reaffirmed that Muslims should honour the pacts of their countries, and the example given is the Charter of Madinah.
The early example is the migration to Abyssinia. The Prophet (saw) sent the Muslims to a Christian king, whom he called a ruler who wrongs no one, and they lived there under his law for years, and he did not require them to rebel or leave his law (Musnad Ahmad, report of Umm Salama (ra), graded hasan). The first migrants did not fight the Negus or object to his courts, and when Quraysh asked for them to be handed over, they appealed to his justice.
Limits and differences
Scholars set out limits. If a law requires something which is clearly forbidden, such as an act of idolatry or the killing of the innocent, it is not to be obeyed in that, but the person may refuse and accept the lawful consequences, or seek an exemption by lawful means. If a law restricts something which is not an obligation, such as a form of dress which is recommended, the person complies. Where it prevents an obligation, such as the daily prayers, he is to seek accommodation under the legal system, and a number of scholars treat necessity as relaxing the rule within limits.
Differences exist. Some Salafi scholars emphasise obedience to the ruler even when he is unjust, citing the hadith that one should listen and obey even if the ruler takes one's wealth (Sahih Muslim), while Islamist and other scholars say that obedience must be paired with advice and public criticism, citing the Prophet's saying that the best struggle is a word of truth before a tyrannical ruler (Sunan Abi Dawud, Jami' al-Tirmidhi, graded sahih). Some militant writers hold that man-made law is itself an act of disbelief, and that its subjects owe it nothing. This was rejected by the main bodies of scholarship, such as al-Azhar and the major fatwa councils, who point out the covenants a Muslim enters, and the principle that the law is judged by its commands and not by its source.
The practical conclusion is that a Muslim keeps the law, pays his taxes, drives within the limits, honours contracts and treats the courts with respect, because he is obeying Allah in doing so, and he works by lawful means to change what he believes is wrong.
Conclusion
Islam requires obedience to the law of the land in what is lawful, through the commands to keep covenants and obey legitimate authority. It does not require obedience in disobedience to Allah. The early Muslims in Abyssinia set the pattern, and modern scholars of Muslim minorities have confirmed that a citizen or resident keeps the law of his country as a part of his religion.
References
Qur'an 4:59, 5:1, 16:91
Sahih al-Bukhari and Sahih Muslim: Book of Government (hear and obey; obedience only in what is right); Sunan Abi Dawud and Jami' al-Tirmidhi (the Muslims are bound by their conditions; word of truth before a tyrant); Musnad Ahmad
al-Shafi'i, al-Umm; al-Sarakhsi, al-Mabsut; Ibn Taymiyya, al-Siyasa al-Shar'iyya; Ibn Kathir, Tafsir al-Qur'an al-'Azim
Taha Jabir al-Alwani, Towards a Fiqh for Minorities; Marrakesh Declaration (2016); European Council for Fatwa and Research, resolutions