Codex of FaithsAn illustrated atlas of belief

Sacred Buildings Explained · Mosques, churches and synagogues

The Mosque

How a mosque works, from minaret and ablution fountain to the mihrab that marks the direction of Mecca, and how one simple plan grew into many regional styles.

Traditions: Islam

1 6 9 10 8 4 7 5 2 3
Drawn after a classic Ottoman mosque of the sixteenth century; layouts vary by region and period.

Part by part

Point at a number in the drawing or at a name in the list to see where each part is.

  1. Minaret

    A tall, slender tower from which the call to prayer, the adhan, is given five times a day. The earliest mosques had none; the muezzin called from a rooftop, and towers became common only from the eighth and ninth centuries. Ottoman mosques have pencil-thin minarets with balconies, and the number of minarets could signal a royal founder.

  2. Courtyard

    An open court, often surrounded by a covered arcade, that sits in front of the prayer hall in many mosques. It recalls the courtyard of the first mosque in Medina and gives room for overflow congregations on Fridays and festival days.

  3. Ablution fountain

    Before prayer, Muslims perform wudu, washing the hands, mouth, nose, face and arms, wiping the head and washing the feet in a set order. Ottoman mosques often place a domed fountain in the centre of the courtyard; many modern mosques have washrooms with rows of taps instead.

  4. Prayer hall

    The main covered space, kept open and free of seats so that worshippers can stand, bow and prostrate in rows. Shoes are left at the entrance, and the hall is usually wider than it is deep so that as many people as possible can pray in the front rows.

  5. Dome

    Many mosques are crowned with a central dome, sometimes surrounded by half-domes, as in the great Ottoman mosques of Istanbul and Edirne. The dome is not a religious requirement; it is an architectural choice that creates a large open space and a sense of the heavens above.

  6. Carpet rows

    The floor is covered with carpets, often woven or marked with lines or repeated prayer-niche patterns. These help worshippers form straight rows, shoulder to shoulder, parallel to the qibla wall, as Islamic tradition asks.

  7. Women’s gallery or area

    Arrangements for women vary widely. Many mosques provide a raised gallery, a screened section or a separate room, while in others women pray in rows behind the men in the same hall; practice depends on region, school of law and local custom.

  8. Minbar

    A raised pulpit with a staircase, standing to the right of the mihrab, from which the imam gives the sermon, the khutba, at Friday prayers. Tradition holds that the Prophet Muhammad preached from a small wooden pulpit of three steps; later minbars of carved wood or marble grew much taller.

  9. Qibla wall

    The wall that faces the direction of the Kaaba in Mecca, towards which all Muslims pray. Its orientation is the one fixed rule of mosque design, and it often carries the richest decoration of tile, marble and calligraphy.

  10. Mihrab

    A niche in the centre of the qibla wall that marks the direction of prayer; the imam leading the prayer stands in front of it. Most historians date the concave mihrab to the rebuilding of the Prophet’s Mosque in Medina in the early eighth century. It is a marker of direction, not an altar or a holy object in itself.

In brief

  1. I.A mosque, in Arabic masjid or “place of prostration”, is a building where Muslims gather for the five daily prayers and above all for the Friday congregational prayer.
  2. II.Its one essential feature is orientation, since the whole prayer hall faces the qibla, the direction of the Kaaba in Mecca, marked by a niche called the mihrab.
  3. III.The first mosque, according to Islamic tradition, was the Prophet Muhammad’s house in Medina, a walled courtyard with a shaded area for prayer, and minarets, domes and niches were added over the following century.
  4. IV.From the wooden mosques of the Balkans to the mud-brick mosques of Mali and the pagoda-roofed mosques of China, the building has taken many regional forms while keeping the same basic layout.

Visiting respectfully

  • Remove your shoes before stepping onto the carpeted prayer area.
  • Dress modestly, covering arms and legs; women are often asked to cover their hair, and many mosques lend scarves.
  • Visit outside prayer times, especially the Friday midday prayer, unless you have been invited to observe.
  • Do not walk directly in front of someone who is praying.
  • Ask before taking photographs, and keep your voice low.

What the records show

  • Islamic sources describe the first mosque as the Prophet Muhammad’s house in Medina, built after the migration of 622 CE, with walls of mud brick and a roof of palm trunks and fronds on one side.
  • The direction of prayer was changed from Jerusalem to Mecca in about 624 CE, a change recorded in the Qur’an (2:144).
  • The Umayyad Mosque in Damascus, built c. 705–715 CE, and the Great Mosque of Córdoba, begun in 785 CE, are among the oldest great mosques still standing.
  • The Ottoman architect Mimar Sinan designed or supervised well over a hundred mosques in the sixteenth century, including the Süleymaniye in Istanbul and the Selimiye in Edirne.

Common misconceptions

  • Every mosque must have a dome and a minaret. Neither is required; many mosques, from Chinese courtyard mosques to small neighbourhood prayer rooms, have neither, and the only fixed rule is that the prayer faces Mecca.
  • The Dome of the Rock in Jerusalem is often called a mosque. It is a shrine built over a sacred rock and completed in 691–692 CE; the nearby al-Aqsa Mosque is the congregational mosque of the sanctuary.
  • The mihrab is sometimes taken for an altar or the place where God is present. In Islamic belief it only indicates the direction of prayer, and nothing is offered or kept there.

Chapter I

From a courtyard in Medina

According to Islamic tradition, the first mosque was built in Medina soon after the Prophet Muhammad and his followers migrated there from Mecca in 622 CE. It was his own house: a square enclosure of mud-brick walls around an open courtyard, with a shelter of palm trunks and palm fronds along one side to shade those who prayed. It served as a place of prayer, a meeting hall, a school and the seat of the young community’s government. That combination of worship and community life has stayed with the mosque ever since.

At first the Muslims of Medina prayed facing Jerusalem. In about 624 CE, the sources say, the direction was changed to the Kaaba in Mecca, a moment recorded in the Qur’an. From then on, the one firm rule of mosque design was orientation: the building had to be laid out so that worshippers in their rows faced the qibla The direction of the Kaaba in Mecca, which Muslims face in prayer. Glossary. Everything else, from the size of the building to its decoration, was left to local custom and the means of its builders.

The features now associated with mosques appeared step by step. Bilal, the first muezzin, is said to have called the faithful from a rooftop, and towers built for the purpose became common only from the eighth and ninth centuries; the minaret of the Great Mosque of Kairouan in Tunisia is among the oldest that survive. The concave mihrab The niche in a mosque wall that shows the direction of prayer. Glossary niche is usually dated to the rebuilding of the Prophet’s Mosque under the Umayyad caliph al-Walid I in the early eighth century. Under the same dynasty the first monumental mosques rose in Damascus and Jerusalem, borrowing columns, mosaics and building skills from the Byzantine and Persian worlds.

Early congregational mosques usually followed a hypostyle plan, a forest of columns supporting a flat roof, as at Córdoba in Spain, where the prayer hall was enlarged several times between the eighth and tenth centuries. Later builders experimented with vaulted halls, great arched porches and domes. By the sixteenth century the Ottoman architect Sinan had perfected the plan used for the drawing on this page: a single vast dome over an open prayer hall, a courtyard with a fountain in front and slender minarets at the corners.

Chapter II

Prayer, sermon and community

The heart of the mosque’s life is the salat The ritual prayer, said five times a day facing Mecca. Glossary, the ritual prayer offered five times a day: at dawn, midday, afternoon, sunset and nightfall. Muslims may pray anywhere that is clean, but prayer in congregation is valued, and the Friday midday prayer is meant to be said together. On Fridays the imam climbs the minbar to give a sermon before leading the prayer. Worshippers stand in straight rows behind him, facing the mihrab, and move together through standing, bowing, prostrating and sitting.

Before praying, worshippers wash in a set sequence, called wudu, at the fountain or washroom. Shoes are left at the door, and the bare prayer hall, with no seats or pews, allows everyone to stand side by side. In Islamic teaching this expresses the equality of believers before God: rich and poor, ruler and labourer share the same rows. There is no clergy in the sense of a priesthood; the imam is a prayer leader, often a trained scholar, but any knowledgeable adult may lead.

The mosque also marks the Islamic year. During Ramadan, the month of fasting, many mosques hold long night prayers and host communal meals to break the fast. The two great festivals, Eid al-Fitr at the end of Ramadan and Eid al-Adha during the season of pilgrimage, bring the largest congregations of the year, often spilling into courtyards and streets. Mosques have long housed schools where children learn to recite the Qur’an, and many still run classes, libraries, charities and advice services for their communities.

Arrangements for women differ more than any other feature. Hadith reports describe women praying in the Prophet’s Mosque behind the men, and today some mosques keep that arrangement, while others provide a gallery, a screened area or a separate room. Some older or smaller mosques have no space for women at all, a matter of active debate within Muslim communities.

Chapter III

Many lands, many forms

Because only the qibla is fixed, the mosque has taken on the character of every region where Islam spread. In Iran and Central Asia, mosques such as the Friday Mosque of Isfahan arranged four great vaulted halls, or iwans, around the courtyard, faced with glazed tiles in blue and turquoise. In Mughal India, mosques like the Jama Masjid in Delhi used red sandstone and white marble, with bulbous domes and vast courtyards for Friday crowds.

In West Africa, the Great Mosque of Djenné in Mali, rebuilt in 1907 on the plan of an earlier mosque, is often described as the largest mud-brick building in the world; wooden beams project from its walls, and the townspeople replaster it together every year. In China, mosques such as the Great Mosque of Xi’an look like Chinese temples, with tiled roofs, wooden pavilions and a sequence of courtyards. Traditional mosques in Java and elsewhere in Indonesia are roofed with stacked, tiered pyramids instead of domes.

The Ottoman model drawn here remains the most widely recognised. Sinan’s Süleymaniye in Istanbul (1550–1557) and Selimiye in Edirne (completed 1575) balance one great dome on arches and half-domes, flooding the prayer hall with light. The Sultan Ahmed Mosque in Istanbul, finished in 1616 and known as the Blue Mosque for its tiles, is famous for its six minarets. Modern architects continue to reinterpret the mosque, from the concrete Sherefudin White Mosque in Visoko, Bosnia, to the minimal designs of mosques in Europe and North America, all still turned towards Mecca.

Questions people ask

Why do mosques have no pictures of people?

Islamic tradition discourages images of living beings in places of worship, so that nothing distracts from prayer or could become an object of worship. Mosques are instead decorated with calligraphy of Qur’anic verses, geometric patterns and plant motifs.

Can non-Muslims visit a mosque?

Many mosques welcome visitors outside prayer times, and some hold open days. Practice varies by country and by mosque, and a few sites, such as the holy mosques of Mecca and Medina, are closed to non-Muslims.

What is the difference between a masjid and a jami?

Masjid is the general word for any mosque. A jami, or Friday mosque, is a larger congregational mosque where the Friday sermon is given.

Sources and further reading

  1. Robert Hillenbrand, Islamic Architecture: Form, Function and Meaning (Edinburgh University Press, 1994)
  2. Jonathan M. Bloom, Minaret: Symbol of Islam (Oxford University Press, 1989)
  3. Martin Frishman and Hasan-Uddin Khan (eds), The Mosque: History, Architectural Development and Regional Diversity (Thames & Hudson, 1994)
  4. Gülru Necipoğlu, The Age of Sinan: Architectural Culture in the Ottoman Empire (Reaktion Books, 2005)