Application of Islamic law by country upon "authoritative Islamic sources and authentic fatwa". Book 2 of the Islamic Penal Code of Iran is entirely devoted to hudud punishments. Iranian application of sharia has been seen by scholars as highly flexible and directly contradicting traditional interpretations of the sharia. Article 1 of Civil Code identifies Islamic law as a main source of legislation. The 1958 Code, made polygamy extremely difficult, granted child custody to the mother in case of divorce, prohibited repudiation and marriage under the age of 16. In 1995, Iraq introduced Sharia punishment for certain types of criminal offenses. Iraq's legal system is based on
Sources of sharia the application of local custom, custom that is accepted into law should be commonly prevalent in the region, not merely in an isolated locality. If it is in absolute opposition to Islamic texts, custom is disregarded. However, if it is in opposition to analogical reason, custom is given preference. Jurists also tend to, with caution, give precedence to custom over doctoral opinions of highly esteemed scholars. Shi'ite scholars do not consider custom as a source of jurisprudence, nor do the Hanbalite or Zahirite schools of Sunni jurisprudence. "Sunni" "Shia" Sources of sharia Various sources of sharia are used by Islamic