Most citizens are Muslim, most of them being Sunni Muslims. The Government, Courts, Civil and Criminal law enforce a moral code established by Shari'ah. A minority of Saudi citizens are Shia Muslims, and there is also a large foreign workforce who must follow their non-Islamic religion in a private manner.
The city has over 1,300 mosques, and the law does not allow for other religions to erect faith based buildings or to express their faith publicly. Religious books, icons and other materials not of the Islamic faith are also banned. However, private religious observance, which does not involve Muslims or offend public order or morality are sometimes tolerated.
Since the 7th century, Jeddah has hosted millions of Muslim pilgrims from all over the world on their way to Hajj. This merge with pilgrims has a major impact on the society, religion, and economy of Jeddah. It also brings an annual risk of illness, known by locals as the 'hajji disease', a general term for various viral maladies.
In keeping with traditional Sharia law, any involvement with alcohol, pork products or any illegal drugs, especially narcotics, is punished severely. Dating and public displays of affection are culturally taboo and all sexual activity outside of a lawful marriage, such as adultery, fornication, cross-dressing and homosexuality, are prohibited. Men and women must wear appropriate clothing that is not too risqué or revealing.
All business activities and markets are closed five times a day, during prayer time, which lasts for about 20 minutes. Seating in restaurants and other public buildings is segregated, with one area for single men and another section for single women and families