section_path: Government and politics/Law
section_name: Law
paragraph_text: Law
  
  The United Arab Emirates has a federal court system, and the emirates of Abu Dhabi, Dubai and Ras Al Khaimah also have local court systems. The UAE's judicial system is derived from the civil law system and Sharia law. The court system consists of civil courts and Sharia courts. Sharia courts have exclusive jurisdiction in Muslim family law matters, while civil courts deal with all other legal matters. Since September 2020, corporal punishment is no longer a legal form of punishment under UAE federal law. Under the decree, legal forms of punishment are retribution and blood money payments, capital punishment, life imprisonment, temporary imprisonment, indefinite detention, and fines. Article 1 of the Federal Penal Code was amended in 2020 to state that Islamic Law applies only to retribution and blood money punishments; previously the article stated that "provisions of the Islamic Law shall apply to the crimes of doctrinal punishment, punitive punishment and blood money." Before 2020, flogging, stoning, amputation, and crucifixion were technically legal punishments for criminal offences such as adultery, premarital sex, and drug or alcohol use. In recent history, the UAE has declared its intention to move towards a more tolerant legal code, and to phase out corporal punishment altogether in favor of private punishment. With alcohol and cohabitation laws being loosened in advance of the 2020 World Expo, Emirati laws have become increasingly acceptable to visitors from non-Muslim countries.
  
  Sharia courts have exclusive jurisdiction over Muslim family law matters such as marriage, divorce, child custody, and inheritance. Muslim women must receive permission from a male guardian to marry and remarry. This requirement is derived from Sharia law and has been federal law since 2005. It is illegal for Muslim women to marry non-Muslims and is punishable by law. Non-Muslim expatriates were liable to Sharia rulings on marriage, divorce, child custody and inheritance, however, federal law was changed to introduce non-Sharia personal status law for non-Muslims. Recently, the emirate of Abu Dhabi opened a civil law family court for non-Muslims and Dubai has announced that non-Muslims can opt for civil marriages.
  
  Apostasy is a technically capital crime in the UAE, however, there are no documented cases of apostates being executed. Blasphemy is illegal; expatriates involved in insulting Islam are liable for deportation.
  
  Sodomy is illegal and is punishable by a minimum of 6-month imprisonment or a fine or both, but the law does not apply "except on the basis of a complaint from the husband or legal guardian", but the penalty may be suspended if the complaint is waived. In 2013, an Emirati man was on trial for being accused of a "gay handshake".
  
  Due to local customs, public shows of affection in certain public places are illegal and could result in deportation, but holding hands is tolerated. Expats in Dubai have been deported for kissing in public. In several cases, the courts of the UAE have jailed women who have reported rape. Federal law in the UAE prohibits swearing on social media. Dancing in public is illegal in the UAE. In November 2020, UAE announced that it decriminalised alcohol, lifted the ban on unmarried couples living together, and ended lenient punishment on honor killing. Foreigners living in the Emirates were allowed to follow their native country's laws on divorce and inheritance.