The judicial system in Qatar is based on the Shari'a, homosexual acts are punished with up to 5 years imprisonment.