Application of Islamic law by country punished by imprisonment of up to six months. It has a civil law system. The Family Code is mainly derived from Islamic law and regulates personal status matters such as marriage, divorce, child custody and inheritance. Sharia does not apply to criminal law. Article 2 of Egypt's 2014 Constitution declares the principles of Islamic sharia to be the main source of legislation. Egypt's law and enforcement system are in flux since its 2011 Revolution; however, the declaration of Sharia's primacy in Article 2 is a potential ground for unconstitutionality of any secular laws in Egyptian legal code. Sharia courts and
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