Application of Islamic law by country in case legislation is silent or unclear. Sharia courts handle personal status laws. A personal status law was codified in 2009 to regulate personal status matters. It applies only to Sunni Muslims; there is no codified personal status law for Shiites. In a Shari’a court a Muslim woman's testimony is worth half of that of a Muslim man. Marriage, divorce, alimony and property inheritance are regulated by Sharia for Muslims. The Muslim Personal Law (Shariat) Application Act, 1937 (XXVI of 1937) applies to Muslims in all matters relating to Family Affairs. Islamic family law is applied through the regular court
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.