Skip to the content
Independent guide. Not the Ministry of Hajj and Umrah, and not any government body. Official sites →
Places

Masjid al-Ghamama, the Mosque of the Cloud

Masjid al-Ghamama is a small domed mosque of dark stone, a few minutes' walk south-west of the Prophet's Mosque. It stands on part of the open ground, the musalla, where the Prophet led the Eid prayers and prayed for rain. Ghamama means cloud.

The musalla, the open prayer ground

In the Prophet's time there was no mosque here. This side of the town was an open space called al-Manakhah, and people gathered in it for prayers that were too large for the mosque. Sahih al-Bukhari (956) describes how the Prophet would go out to the musalla on the two Eids, begin with the prayer, and then stand facing the people, who stayed in their rows while he taught and advised them.

He is said to have prayed the Eid at several places on this ground, the first time in the second year after the Hijrah. The mosque marks the spot where he prayed in his later years, according to the historians of Madinah.

The prayer for rain and the cloud

Another narration in Sahih al-Bukhari (1012) says that the Prophet went out to the musalla to pray for rain, faced the qibla, turned his cloak around and prayed two rak'ahs. The mosque's name is usually explained by this: a cloud gathered as he prayed and rain fell. A different explanation, also widely repeated, says that a cloud shaded him here.

The musalla is also where he led the funeral prayer for the Negus, the ruler of Abyssinia who had sheltered Muslim refugees. Sahih al-Bukhari (1333) says that he announced the death on the day it happened, went out with the people to the musalla and prayed with four takbirs.

The building

A mosque was first built here when Umar ibn Abd al-Aziz governed Madinah, between 86 and 93 AH (705 to 712). It was renewed by the Mamluk sultan Hasan in the fourteenth century and again under Sultan Inal in the fifteenth. The building you see today owes its general form to the Ottoman sultan Abdulmejid I, who rebuilt it in 1859, and it has been restored several times since, including under King Salman.

The outside is faced with black basalt. A portico about 26 metres long, with five domes, leads into a prayer hall of about 30 by 15 metres under six more domes, the largest above the mihrab. Inside, the domes and walls are white and the arches are picked out in black. It is one of the best places in Madinah to see Ottoman stonework close up.

The mosques of Abu Bakr, Umar and Ali

Three other small mosques stand close by and are often visited together. They are not the houses of the caliphs, and they were not built in their lifetimes. They stand on the same prayer ground:

  • Masjid Abu Bakr, about 300 metres from the Prophet's Mosque, where the first caliph is said to have led the Eid prayer. It dates from the same period as al-Ghamama and was rebuilt in 1838 under Sultan Mahmud II.
  • Masjid Ali, linked in tradition with an Eid prayer led by Ali ibn Abi Talib. The historian al-Samhudi dates it to the same period as the other two.
  • Masjid Umar, first built much later, in the ninth century of the Hijrah, and possibly named to match the others.

Visiting today

Leave the courtyards of the Prophet's Mosque on the south-western side and look for the cluster of dark domes; distances given in guides range from 200 to 500 metres, depending on where they are measured from. The mosque was closed for prayer for some years because it is so close to the Prophet's Mosque, and has since reopened. Opening times vary, so you may find the door shut outside prayer times, but the exterior and the surrounding plaza can be seen at any hour.

Visiting takes fifteen to thirty minutes. Evening is the most pleasant time, when the stone is lit and the heat has gone. The visit is for history; there is no rite attached to it.

Sources

Page updated 2026-11-22