Sharia (Islamic law and legal rulings) are based on the sacred texts of the Qur’an and Sunnah, as well as external scholarly sources.
External sources include, but are not limited to, scholarly consensus (ijmāʿ) and analogical reasoning (qiyās). This is the basis on which Islamic law is constructed.
The terms Sharia and Islamic law are often used interchangeably, and refer to the many legal, moral, and ritualistic rulings found in or derived from the Qur’an and Sunnah. The process and jurisprudential activity of deriving and interpreting rulings is known as fiqh. The Sharia is not, however, merely a body of static, fixed law codes lifted directly from the Quran and Sunnah.