Sharia or sharia law (Arabic: شريعة (IPA: [ʃaˈriːʕa]), is the Islamic legal system derived from the religious precepts of Islam, particularly the Quran and the Hadith. The term sharia comes from the Arabic language term sharīʿah, which means a body of moral and religious law derived from religious prophecy, as opposed to human legislation.Sharia deals with many topics, including crime, politics, and economics, as well as personal matters such as sexual intercourse, hygiene, diet, prayer, everyday etiquette and fasting. Adherence to sharia has served as one of the distinguishing characteristics of the Muslim faith historically. In its strictest and most historically coherent definition, sharia is considered in Islam as the infallible law of God.There are two primary sources of sharia: the Quran, and the Hadiths (opinions and life example of Muhammad). For topics and issues not directly addressed in these primary sources, sharia is derived. The derivation differs between the various sects of Islam (Sunni and Shia), and various jurisprudence schools such as Hanafi, Maliki, Shafi'i, Hanbali and Jafari. The sharia in these schools is derived hierarchically using one or more of the following guidelines: Ijma (usually the consensus of Muhammad's companions), Qiyas (analogy derived from the primary sources), Istihsan (ruling that serves the interest of Islam in the discretion of Islamic jurists) and Urf (customs).Sharia is a significant source of legislation in various Muslim countries. Some apply all or a majority of the sharia code, and these include Saudi Arabia, Sudan, Iran, Afghanistan, Pakistan, Brunei, United Arab Emirates, Qatar, Yemen and Mauritania. In these countries, sharia prescribed punishments such as beheading, flogging and stoning continue to be practiced judicially or extra-judicially. The introduction of sharia is a longstanding goal for Islamist movements globally, including in Western countries, but attempts to impose sharia have been accompanied by controversy, violence, and even warfare. Most countries do not recognize sharia; however, some countries in Asia, Africa and Europe recognize parts of sharia and accept it as the law on divorce, inheritance and other personal affairs of their Islamic population. In Britain, the Muslim Arbitration Tribunal makes use of sharia family law to settle disputes, and this limited adoption of sharia is controversial.The concept of crime, judicial process, justice and punishment embodied in sharia is different from that of secular law. The differences between sharia and secular laws have led to an ongoing controversy as to whether sharia is compatible with secular forms of government, human rights, freedom of thought, and women's rights.