Application of Islamic law by country article 170, section 5 of the constitution, the jurisdiction of Kadhis’ court is limited to matters relating to "personal status, marriage, divorce or inheritance in proceedings in which all the parties profess the Muslim religion and submit to the jurisdiction of the Kadhi’s courts". Qaddafi merged civil and sharia courts in 1973. Civil courts now employ sharia judges who sit in regular courts of appeal and specialise in sharia appellate cases. The personal status laws are derived from Islamic law. It has a civil law system influenced by customary law. In urban areas, positive law is common. In rural areas
Islamic criminal law in Aceh and distribution, gambling, adultery, rape, sexual harassment, certain intimacies outside marriage, and certain homosexual acts. Punishments include caning, fines, and imprisonment. Caning is the only Sharia-based punishment that applied in Aceh; an attempt to introduce stoning in 2009 by local legislature was vetoed by Governor of Aceh Irwandi Yusuf. In 2016 Aceh processed 324 first instance court cases under Islamic criminal law, and carried out at least 100 caning sentences. Supporters of Islamic criminal law defend its legality under the special autonomy granted to Aceh, saying that it is covered by the freedom of religion of the people of Aceh.