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 civil courts under a session from the five sharia districts. All other cases, including criminal ones, are dealt with by local civil courts. Sharia is the main source of Qatari legislation according to Qatar's Constitution. Islamic law is applied to laws pertaining to family law, inheritance, and several criminal acts (including adultery, robbery and murder). In some cases in Sharia-based family courts, a female's testimony is worth half a man's and in some cases a female witness is not accepted at all. Flogging is used in Qatar as a punishment for alcohol consumption or illicit sexual relations. Article 88 of