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
Islamic criminal law in Aceh Hamdani of Aceh's Malikussaleh University said that the people of Aceh have the right to enact Islamic law as freedom of religion and defended its legality based on Indonesian laws granting Aceh authority to enact Islamic law. Deputy head of the Aceh Islamic Sharia Agency Munawar Jalil rejected criticism that provisions of the law violated human rights or existing laws in Indonesia and Aceh, and invited critics to file a judicial review if they believe otherwise. Islamic criminal law in Aceh The province of Aceh in Indonesia enforces some provisions of Islamic criminal law, the sole province to do so.