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.
6 min read

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 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.

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.

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 hotelsSources
- SPA: the Musallayat square southwest of the Prophet's Mosque (Eid and rain prayers, about 150 m from its courtyards, the Ghamama and Abu Bakr mosques, built under Umar ibn Abd al-Aziz, renewed under King Fahd), March 2025 · Checked 28 Nov 2026
- SPA: Prayer Grounds Square, a historical landmark for visitors of Madinah (English), March 2025 · Checked 28 Nov 2026
- SPA: Masjid al-Ghamama, one of the landmarks of the Prophet's life (about 500 m southwest of the Prophet's Mosque, about 480 m²) · Checked 28 Nov 2026
- Visit Madinah (Madinah Region Development Authority): Al-Ghamamah Mosque (the building, the prayer hall, the minaret, opening hours 10:00 to midnight) · Checked 28 Nov 2026
- Visit Madinah (Madinah Region Development Authority): Abu Bakr As-Siddiq Mosque (west of al-Ghamama across the road, Abu Bakr's Eid prayer, Mahmud II, King Fahd's restoration) · Checked 28 Nov 2026
- Visit Madinah (Madinah Region Development Authority): Ali ibn Abi Talib Mosque (west of the Prophet's Mosque near al-Manakha, Ali's Eid prayer in 35 AH, rebuilt in 1411 AH) · Checked 28 Nov 2026
- Visit Saudi (Saudi Tourism Authority): Masjid al-Ghamamah (congregational prayers held there today) · Checked 28 Nov 2026
- Al-Madina newspaper: the rehabilitation of Masjid al-Ghamama (built 86 to 93 AH, Abdulmejid I's renewal, restoration 1431 to 1434 AH) · Checked 28 Nov 2026
- Arab News: eight restored sites in Madinah inaugurated, including the Ghamama, Abu Bakr and Umar ibn al-Khattab mosques (20 October 2022) · Checked 28 Nov 2026
- Saudi Gazette: the Emir of Madinah launches the projects to restore Islamic historical sites (October 2022) · Checked 28 Nov 2026
- Emirate of Madinah Region on X: the Umar ibn al-Khattab and Abu Bakr mosques in the Ghamama square rehabilitated to receive worshippers (February 2024) · Checked 28 Nov 2026
- Al-Watan: nine historic mosques in Madinah opened to visitors by the Ministry of Islamic Affairs, including al-Ghamama, Abu Bakr and Ali ibn Abi Talib (2024) · Checked 28 Nov 2026
- Sunnah.com: Sahih al-Bukhari 956, the Prophet went out to the musalla on the two Eids · Checked 28 Nov 2026
- Sunnah.com: Sahih al-Bukhari 6343, the prayer for rain at the musalla · Checked 28 Nov 2026
- Sunnah.com: Sahih al-Bukhari 1245, the funeral prayer for the Negus at the musalla · Checked 28 Nov 2026
- Sunnah.com: Sahih al-Bukhari 1189, travelling only to three mosques · Checked 28 Nov 2026
- Sunnah.com: Sahih al-Bukhari 483, Ibn Umar praying where he had seen the Prophet pray · Checked 28 Nov 2026
- Ibn Baz: visiting the Seven Mosques is not prescribed; Quba is the mosque to visit after the Prophet's Mosque · Checked 28 Nov 2026
- IslamQA (scholarly opinion): going to the places and mosques where the Prophet prayed, with Ibn Uthaymin's view · Checked 28 Nov 2026


