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 the power to judge any law or government actions to be against Islam, and to review court cases for adherence to Islamic law. The penal code includes elements of sharia. Under article 5, section 2 of the Ordinance No. VII of 1979, whoever is guilty of zina, "if he or she is a muhsan, be stoned to death at a public place; or if he or she is not a muhsan, be punished, at a public place, with whipping numbering one hundred stripes". Under a 2006 law, rape cases can be heard under civil as well as Islamic law. There