Masjid al-Haram, the Sacred Mosque in Mecca, is the holiest mosque in Islam and the largest mosque in the world. At its centre stands the Kaaba, the House whose foundations, according to the Qur’an, Ibrahim and his son Isma‘il raised, and towards which Muslims all over the world turn in prayer. Every year it receives the pilgrims of the Hajj, and throughout the year those who perform the Umrah.
The Kaaba, the first house of worship
Masjid al-Haram surrounds the Kaaba, a cube-shaped building in the middle of its courtyard. It is the qibla – the direction to which Muslims all over the world turn in prayer – and in the Muslim view its sanctuary is the first mosque that ever existed.
The Qur’an (2:127) tells how Ibrahim and his son Isma‘il raised the foundations of the House, and (22:26–27) how the site of the House was shown to Ibrahim and he was commanded to call people to the pilgrimage. In 3:96–97 the Kaaba is called the first house set up for people, in which stands the Station of Ibrahim.
Abu Dharr once asked the Prophet ﷺ which mosque was set up first on earth. The Prophet ﷺ answered that it was the Sacred Mosque, and after it al-Aqsa Mosque, with forty years between them – and he added that wherever the time of prayer finds a person, he should pray, for the merit lies in that. The hadith is agreed upon (al-Bukhari and Muslim); HadeethEnc gives it for now in Arabic.
When the Prophet ﷺ entered Mecca in 630, the idols around the Kaaba were broken; the Qur’an (21:57–58) describes a similar act of Ibrahim.
The Kaaba, the Black Stone and Maqam Ibrahim
The Kaaba is about 13 metres high (other figures give about 15), on a base of about 12.9 × 11 metres. It is covered by the kiswah, a cloth that is replaced every year on the 9th of Dhu al-Hijjah. Beside its northern side runs a low semicircular wall, the Hijr Isma‘il or Hatim: according to the sources, the Quraysh left this part of six cubits out of the Kaaba when they rebuilt it, for lack of means.
The Black Stone (al-Hajar al-Aswad) is set into the eastern corner of the Kaaba. Today it consists of several fragments held in a silver frame; the visible face measures about 20 × 16 cm. Tradition tells that an angel brought it to Ibrahim. Around 605, when the Quraysh rebuilt the Kaaba, the clans disputed who should put the stone back in its place; the Prophet ﷺ laid it on a cloth, the clan leaders lifted it together, and he set it in place with his own hand. In 930 the Qarmatians carried the stone away; it was returned in 952 (one passage of the source gives 951).
Tawaf begins at the Black Stone; pilgrims kiss it, touch it or point towards it. ‘Umar (may Allah be pleased with him) came to the stone, kissed it and said:
“Verily, I know that you are a stone that can neither harm nor benefit. Had I not seen the Prophet (may Allah’s peace and blessings be upon him) kissing you, I would not have kissed you.”
Maqam Ibrahim, the Station of Ibrahim, is a small square stone about 40 × 40 cm and 20 cm high, with a footprint that tradition attributes to Ibrahim: according to one account, he stood on it while building the Kaaba. The Qur’an mentions it (2:125, 3:97). In 1967 it was covered with a glass dome, and today it stands near the Kaaba in an enclosure of golden metal.
Photo: TaLha Hussain (BAIG), معتز توفيق اغبارية, Khalili Collections, The British Library · CC BY 3.0, CC BY-SA 3.0, CC BY-SA 4.0, No restrictions, CC BY 2.0, CC0 · Wikimedia Commons · Wikimedia Commons
Zamzam, Safa and Marwa
The Zamzam well lies about 20 metres east of the Kaaba; it is about 30 metres deep, with a diameter of 1.08 to 2.66 metres. In Islamic tradition, Ibrahim left Hajar and their son Isma‘il in the desert; searching for water, Hajar went seven times between the hills of Safa and Marwa, and the water sprang up – according to the accounts when the infant Isma‘il struck the ground with his feet, or opened by Jibril. Tradition credits ‘Abd al-Muttalib, the grandfather of the Prophet ﷺ, with rediscovering and digging out the well in the 6th century.
Since 1964 the well opens into a basement room that visitors cannot enter. Its water is pumped to the King Abdullah Zamzam Water Project at Kudai, opened in 2010; in the mosque, about 700,000 litres a day are distributed outside the pilgrimage season and about 2,000,000 litres a day during it.
The Qur’an (2:158) counts Safa and Marwa among the symbols of Allah. Pilgrims walk between them seven times – the sa‘i – in remembrance of Hajar. Today the two hills are joined by the covered gallery of al-Mas‘a, 375 metres long and about 40 metres wide, on four floors.
Through the centuries
In the time of the Prophet ﷺ the mosque was an open space around the Kaaba. In 637 the caliph ‘Umar enlarged it by about 1,500 m², to about 3,600 m², because the number of Muslims was growing, and the caliph ‘Uthman added covered porticoes for the first time. ‘Abd Allah ibn al-Zubayr enlarged the mosque to 7,465 m² and, after a fire in 683, rebuilt the Kaaba to include the Hatim; in 693 the Umayyad caliph ‘Abd al-Malik had the Kaaba rebuilt again, and al-Walid I replaced the wooden columns with marble ones.
The Abbasid caliph al-Mansur enlarged the mosque in 754–757, and al-Mahdi (from 779) and al-Hadi (785–786) carried out a great enlargement to about 28,000 m². Apart from smaller additions, the mosque kept this size until the Saudi era.
Under the Ottomans, sultan Selim II commissioned the chief architect Mimar Sinan in 1570; he replaced the flat roof with domes decorated with calligraphy. Floods in 1621 and 1629 damaged the Kaaba and the walls of the mosque (the Wikipedia article on the Kaaba dates the collapse of its walls to 1626); Murad IV restored them, added a stone arcade and three minarets – seven in all – and laid a new marble floor. The Ottoman works did not enlarge the mosque.
The first Saudi enlargement began in 1955 under King Saud, continued under Kings Faisal and Khalid and, according to Wikipedia, lasted until 1976. According to Saudipedia it brought the area to 160,168 m², for 300,000 worshippers (400,000 at peak times), with seven minarets each 89 metres high; the gallery of al-Mas‘a became part of the mosque and received a second floor. Many columns of the Ottoman era were removed in the process.
The second enlargement, that of King Fahd, extended the mosque on its western side (Wikipedia gives 1986–1994; Saudipedia dates the foundation stone to 1988). According to Saudipedia it added about 87,000 m² and brought the total area to 366,168 m², for 820,000 worshippers in normal times and more than a million at peak times, with two new minarets each 96 metres high and the King Fahd Gate.
The third enlargement was announced in 2008; work began in 2011 under King Abdullah, King Salman inaugurated the project in 2015, and according to Saudipedia it continues. The figures differ from source to source: Saudipedia gives a built-up area of about 1.47 million m² and a capacity of 1.85 million worshippers (another Saudipedia article: two million), Wikipedia cites the 2011 plan to raise the capacity from 770,000 to more than 2.5 million, and in 2026 the General Authority for the Care of the Two Holy Mosques gave the area of the third expansion as about 1,214,000 m².
- c. 605the Quraysh rebuild the Kaaba; the Prophet ﷺ sets the Black Stone in place
- 637the caliph ‘Umar enlarges the mosque to about 3,600 m²
- 683Ibn al-Zubayr rebuilds the Kaaba after a fire; the mosque covers 7,465 m²
- 779–786al-Mahdi and al-Hadi: about 28,000 m²
- 930–952the Qarmatians carry away the Black Stone; it is returned in 952
- 1570the domes of Mimar Sinan, under Selim II
- 1621–1629floods; Murad IV restores, seven minarets
- 1955–1976the first Saudi enlargement, 160,168 m²
- 1988the second Saudi enlargement (King Fahd), 366,168 m²
- 2011–2015the third Saudi enlargement, inaugurated in 2015
The mosque today
Masjid al-Haram is the heart of the Hajj and the Umrah. Tawaf – seven circuits around the Kaaba, anticlockwise, beginning at the Black Stone – is part of both, as is the sa‘i between Safa and Marwa. The Hajj is performed once a year, in the month of Dhu al-Hijjah, the Umrah throughout the year.
Wherever they are, Muslims turn towards the Kaaba in prayer; here, at its foot, the worshippers stand around it on every side. Not far from the mosque rises the Makkah Royal Clock Tower, 601 metres high, completed in 2012 as part of the Abraj al-Bait complex.
Written by the Prayer Time editors from the sources listed.



![Masjid al-Haram – View this map on the BL Georeferencer service. Image taken from: Title: "[The Gallery of Geography, a pictorial and descriptive tour of the world.]" Author: MIL](assets/mosques/art/haram/4-600.webp)



