Application of Islamic law by country to death by stoning in Abu Dhabi. Islamic law dictates the personal status law, which regulate matters such as marriage, divorce and child custody. The Sharia-based personal status law is applied to Muslims and sometimes non-Muslims. Non-Muslim expatriates are liable to Sharia rulings on marriage, divorce and child custody. Sharia courts have exclusive jurisdiction to hear family disputes, including matters involving divorce, inheritances, child custody, child abuse and guardianship of minors. Sharia courts may also hear appeals of certain criminal cases including rape, robbery, and related crimes. Apostasy is a crime punishable by death in the UAE. UAE incorporates hudud
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.