In Islamic law (sharia), the consensus view is that a male apostate must be put to death unless he suffers from a mental disorder or converted under duress, for example, due to an imminent danger of being killed. A female apostate must be either executed, according to Shafi'i, Maliki, and Hanbali schools of Sunni Islamic jurisprudence (fiqh), or imprisoned until she reverts to Islam as advocated by the Sunni Hanafi school and by Shi'a scholars