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 committed by Muslims or legal entities in Aceh. In addition, it also applies to offences committed by non-Muslims if the offences are not regulated in the Indonesian Criminal Code, or if committed together with a Muslim and the non-Muslim voluntarily chooses Islamic law. In April 2016 a Christian woman was caned 28 times for selling alcoholthe first non-Muslim to receive caning under the law. Major institutions relevant to the implementation of Islamic criminal law in Aceh include the ulama council (, MPU), the Wilayatul Hisbah (WH, sometimes referred to in English as the "Sharia police"), and the sharia courts ().