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
Application of Islamic law by country codifies sharia, and retains punishments such as the stoning to death of adulterers. However virtually all courts, including the Supreme Court of Afghanistan, rely on Islamic law directly. The government is declared to be secular in the constitution. Article 2 of Bahrain's 2002 Constitution as originally adopted, as well as after February 2012 amendment, declares Islamic Sharia is a chief source of legislation. Four tiers of ordinary courts have jurisdiction over cases related to civil, administrative and criminal matters, with Court of Cassation the highest civil court in Bahrain; in all matters, the judges are required to resort to Sharia