Skip to content
JiwarStay

Masjid al-Ghamama and the old mosques by the Prophet's Mosque

Masjid al-Ghamama and the Abu Bakr, Umar and Ali mosques near the Prophet's Mosque: the Eid prayer ground, their history, opening times and the short walk.

By Abdulrahman Ragab

6 min read

Masjid al-Ghamama in Madinah, its white domes over black basalt arches beside its minaret, with visitors crossing the square in front

A few minutes from the courtyards of the Prophet's Mosque, on its south-west side, stands a small mosque of black basalt under white domes: Masjid al-Ghamama. Around it are smaller mosques named after three caliphs, Abu Bakr, Umar and Ali. This open ground was Madinah's musalla, where the Prophet ﷺ and his Companions came out for the two Eids and to pray for rain. Today it's one of the closest historic sites to the Haram, and one of the easiest to fit between prayers.

Where are they?

They stand on the square that official sources call the Musallayat square, known in the past as al-Manakha. The Saudi Press Agency puts it about 150 m from the courtyards of the Prophet's Mosque on the south-west, and Masjid al-Ghamama about 500 m from the mosque itself. Walk out of the south-west courtyards and the white domes are in front of you.

  • Masjid al-Ghamama: in the middle of the square, the largest and best known.
  • Masjid Abu Bakr al-Siddiq: just west of al-Ghamama, across the road.
  • Masjid Umar ibn al-Khattab: close by, on the south-west side of the square.
  • Masjid Ali ibn Abi Talib: west of the Prophet's Mosque near al-Manakha Street, about 400 m from it.

The Eid and rain prayer ground

The Prophet ﷺ prayed Eid in the open, outside his mosque. Abu Sa'id al-Khudri reports: "The Messenger of Allah ﷺ used to go out to the musalla on the day of Fitr and Adha" (al-Bukhari 956).

He prayed for rain on the same ground. Abdullah ibn Zayd said: "The Prophet ﷺ went out to this musalla to pray for rain. He supplicated and asked for rain, then faced the qibla and turned his cloak inside out" (al-Bukhari 6343). When the Negus died, the Prophet ﷺ announced it the same day, went out to the musalla, lined the people up and said four takbirs over him (al-Bukhari 1245).

The Saudi Press Agency describes the site of Masjid al-Ghamama as the last place where the Prophet ﷺ is known to have prayed Eid. The name means "the cloud": it is told that a cloud shaded him while he prayed here, though the reports differ on the details. The mosque is also called Masjid al-Musalla.

The side of Masjid al-Ghamama, with its basalt walls, arched windows and round minaret
Masjid al-Ghamama, its basalt walls and its minaret, May 2025.

The building

The first mosque here was built while Umar ibn Abd al-Aziz was governor of Madinah, between 86 and 93 AH, and it was repaired many times after. What you see today goes back to the complete renewal by the Ottoman Sultan Abdulmejid I in the 13th century AH.

In the Saudi era it was renewed under King Fahd, then fully restored between 1431 and 1434 AH (2010 to 2013), keeping its domes, its minaret and its basalt stone. In October 2022 it reopened with the Abu Bakr and Umar mosques among the first eight sites finished under Madinah's programme to restore its Islamic historical sites.

It's a small mosque of about 480 m²: a long entrance under five domes, then a prayer hall 15 m wide and 30 m long, with a round minaret at one corner. The black stone still shows in the piers and arches, and the domes are whitewashed.

Inside the prayer hall of Masjid al-Ghamama, with its stone piers and arches
Inside Masjid al-Ghamama, December 2024.

The Abu Bakr, Umar and Ali mosques

Masjid Abu Bakr al-Siddiq faces al-Ghamama from the west, its door opening north onto the square. It takes its name from Abu Bakr praying Eid on this spot during his caliphate. The present building is the work of the Ottoman Sultan Mahmud II in 1254 AH, restored under King Fahd in 1411 AH.

The Abu Bakr al-Siddiq Mosque, its white dome and minaret over black stone walls, among trees
Masjid Abu Bakr al-Siddiq on the Ghamama square, August 2020.

Masjid Umar ibn al-Khattab is a short step away. It was rehabilitated under the same programme, and in February 2024 the Emirate of Madinah announced it was ready to receive worshippers and visitors.

Masjid Ali ibn Abi Talib is a little further, to the north near al-Manakha Street. Ali is reported to have led the Eid prayer on this spot in 35 AH, while Uthman was under siege. The mosque was taken down and rebuilt in the same style in 1411 AH, during King Fahd's expansion of the Prophet's Mosque.

Are they open for prayer?

Visit Saudi says the five daily prayers are held in congregation at Masjid al-Ghamama, and Visit Madinah, the Madinah Region Development Authority's site, gives its hours as 10:00 to midnight. In 2024 the Ministry of Islamic Affairs prepared nine historic mosques in Madinah, al-Ghamama, Abu Bakr and Ali among them, and opened them to visitors for about 13 hours a day, with male and female guards.

Hours change with the seasons and with maintenance, and you may find one of the mosques shut outside prayer times. Ask at your hotel or read the board at the door before you plan your day around it.

What scholars say about visiting them

The mosque to set out for in Madinah is the Prophet's Mosque. He ﷺ said: "Do not set out on a journey except to three mosques: al-Masjid al-Haram, the Mosque of the Messenger ﷺ and al-Masjid al-Aqsa" (al-Bukhari 1189). After it comes Quba, for the authentic reward of praying there.

No special virtue or extra reward is proven for these mosques. Sheikh Ibn Baz held that after the Prophet's Mosque, Quba is the only mosque in Madinah one should make a point of visiting, and that seeking out others as an act of worship has no basis; Sheikh Ibn Uthaymin said the same. Ibn Umar used to pray at places where he had seen the Prophet ﷺ pray (al-Bukhari 483), and some scholars saw room in that, while most did not take it as a sunnah to pursue.

In practice: if you pass by, pray there as you would in any mosque and learn their story. Don't wipe your hands on the walls or take their dust for blessing, and don't expect a reward for praying there that no text promises.

A short walk: the route and the best time

  • Leave the Prophet's Mosque by its south-west courtyards and head for the white domes. You'll reach al-Ghamama in a few minutes.
  • Cross the road west to the Abu Bakr mosque, then look for the Umar mosque just south-west of it.
  • For the Ali mosque, walk north towards al-Manakha Street, then back to the Haram.
  • The whole loop takes under an hour at an easy pace. Go mid-morning after 10:00, or after Asr when the heat eases.
  • In summer the open square gets very hot at midday, so carry water and an umbrella.

For the other places worth seeing, read Ziyarat in Madinah, and for the etiquette of the Prophet's Mosque and greeting him ﷺ, read Visiting the Prophet's Mosque. If you're looking for somewhere to stay near the Haram, see hotels in Madinah.

Hotels near the Prophet's Mosque

Compare the walk, the view and the price, then book in minutes.

See the hotels

Sources