The United Arab Emirates is cracking down on hate crimes with tough legislation that prescribes up to 10 years in prison or the death penalty if convicted of "takfirism" or Sunni Muslim extremism, according to the text of the decree distributed by the official WAM news agency.