Leaving Islam can be notoriously difficult in many Muslim-majority countries. Certain countries, such as Qatar and Saudi Arabia, have laws that make apostasy an offense punishable by death. In others where apostasy is not explicitly criminalized, accused individuals can still face charges through religious courts.
Prosecution at the hands of the judicial system, however, is relatively rare. The main costs that apostates face come from family members and others in the community. A 2013 PEW study found widespread support for the death penalty for leaving Islam in many countries. In several of them, including Egypt, Jordan, Afghanistan, and Pakistan, the majority of Muslims held this view. In the Palestinian Territories, 89 percent of those surveyed thought Sharia ought to be the law of the land, and within that number, 66 percent supported the death penalty for apostasy.