Qatar explicitly uses Wahhabi law as the basis of its government, and the vast majority of its citizens follow this specific Islamic doctrine. Muhammad ibn Abd al-Wahhab founded Wahhabism, a puritanical version of Islam which takes a literal interpretation of the Qur'an and the Sunnah. In the eighteenth century, Abd Al-Wahhab formed a pact with the al-Saud family, the founders of Saudi Arabia.
In the early twentieth century, when the Al-Thanis realized that converting to the doctrine of their larger neighbor might bode well for the survival of their regime, they imported Wahhabi Islam from Saudi Arabia to Qatar. Perhaps as an effect of the importation, Wahhabism takes a more tolerant form in Qatar than in Saudi Arabia, though it still governs a large portion of Qatari mores and rituals.
When contrasted with other Arab states such as Saudi Arabia, for instance, Qatar has comparatively liberal laws, but is still not as liberal as some of its neighbors like UAE or Bahrain. Women can drive in Qatar, whereas they may not legally drive in Saudi Arabia.
The country has undergone a period of liberalization and modernization after the current Emir of Qatar, Hamad bin Khalifa Al-Thani, came to power after becoming Emir in place of his father. Under his rule, Qatar became the first Persian Gulf country where women gained the right to vote.[3] Also, women can dress mostly as they please in public (although in practice local Qatari women generally don the black abaya). Before the liberalization, it was taboo for men to wear shorts in public. The laws of Qatar tolerate alcohol to a certain extent.