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
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