What is the sharia based on?

The Sharia is a Muslim text that is based upon the Sunnah, the Koran, the Ijma, and the Qiyas.

Sharia law is based on:
  1. Quran, Muslims holy book revealed by God to prophet Muhammad (PBUH),
  2. Sunnah, prophet Muhammad (PBUH) teachings (sayings and practices),
  3. Qias, comparing with similar cases in Quran or Sunnah. For example, drugs are forbidden although not mentioned in Quran and Sunnah but because drug effects are the same when compared with alcohol (that is forbidden in Quran and sunnah explicitly), and
  4. Ijmaa, issues where all Islam religion leaders agree upon.