Masjid al-Ghamama, Abu Bakr, Ali & Umar: The Historic Mosques Beside Masjid an-Nabawi

Just a short walk from Masjid an-Nabawi sits a small cluster of historic mosques, Masjid al-Ghamama, Masjid Abu Bakr, Masjid Ali, and Masjid Umar, each connected to a specific moment or figure from early Islamic history. Many pilgrims visit all four together as part of the same walk around central Madina. This guide covers the story behind each mosque and how to plan your visit.

These Four Mosques: Quick Answer

Masjid al-Ghamama, Masjid Abu Bakr, Masjid Ali, and Masjid Umar are four historic mosques located close together, a short walk from Masjid an-Nabawi in central Madina. Each is named for its connection to a specific historical event or companion: Masjid al-Ghamama, meaning “Mosque of the Cloud,” commemorates a well-known account of a cloud shading the Prophet Muhammad ﷺ, while Masjid Abu Bakr, Masjid Ali, and Masjid Umar mark locations traditionally associated with Eid prayers led by these companions.

Because they sit so close together, many pilgrims visit all four in a single walking trip.

Masjid al-Ghamama: The Story Behind the "Mosque of the Cloud"

Masjid al-Ghamama takes its name from a widely known account describing a cloud (ghamama) providing shade for the Prophet Muhammad ﷺ, traditionally associated with an Eid prayer held at this location. The site has since been recognized as one of Madina’s historic mosques, tied specifically to this account.

Want the fuller account of the story behind the name? See our dedicated Masjid al-Ghamama: The Story Behind the Name guide

Masjid Abu Bakr, Masjid Ali & Masjid Umar

Located near Masjid al-Ghamama, these three mosques are each traditionally associated with Eid prayers led at the same general location by Abu Bakr (RA), Ali (RA), and Umar (RA) respectively, in the years following the Prophet’s ﷺ own practice there. Together with Masjid al-Ghamama, they form a small cluster commemorating this shared history.

Want the individual history behind each mosque? See our dedicated guides: Masjid Abu Bakr, Masjid Ali, and Masjid Umar

Planning Your Visit: Walking Route

For GPS coordinates and a suggested walking order, see our Location & Walking Route guide. For current opening hours, see our Visiting Rules & Prayer Timings guide.

Not to Be Confused With the Seven Mosques (Sab'ah Masajid)

Pilgrims sometimes confuse this cluster of four mosques with the separate Seven Mosques (Sab’ah Masajid) near the site of the Battle of the Trench. Both are clusters of historic mosques in Madina, but they are different sites with different histories. We’ll cover the full comparison once our dedicated Seven Mosques guide is published — check back soon.

Important Things to Know Before Visiting

Religious & Historical Context

Religious significance

Masjid al-Ghamama’s connection to the account of the cloud, and the mosques associated with Abu Bakr (RA), Ali (RA), and Umar (RA), reflect a well-recognized part of Madina’s mosque history tied to Eid prayer traditions.

Historical significance

This cluster of mosques reflects how successive early Muslim leaders continued a shared practice at the same general location, giving the site a layered historical significance beyond any single event.

Visitor information

This guide focuses on practical visiting details. For deeper historical or religious explanation of the events behind each mosque, pilgrims should refer to a qualified source.

Explore More About These Historic Mosques

Frequently Asked Questions

They are historic mosques near Masjid an-Nabawi, traditionally associated with Eid prayers led by these companions, sitting close to Masjid al-Ghamama.

It takes its name from a well-known account of a cloud providing shade for the Prophet Muhammad ﷺ during a prayer at this location.

These mosques commemorate specific Eid prayers traditionally led by Abu Bakr (RA), Ali (RA), and Umar (RA) at the same general location as Masjid al-Ghamama.

All four sit close together, a short walk from Masjid an-Nabawi in central Madina.

Yes, since they’re located close together, most pilgrims visit all four as part of a single walking trip.

Availability can vary by mosque and prayer time. Check our Visiting Rules & Prayer Timings guide for current details.

Yes. These are two separate clusters of historic Madina mosques with different histories. Our dedicated comparison guide is coming soon.

They’re within easy walking distance. Our Location & Walking Route guide has full directions.

Explore More Holy Ziyarat Guides

Ready to Visit These Historic Mosques?

Since they sit close to Masjid an-Nabawi, these mosques are easy to include in any Madina Ziyarat trip. Holy Ziyarat offers private, reliable transportation across Madina for your full Ziyarat route.

Holy Ziyarat

Your trusted companion for Ziyarat guidance and reliable transportation in Makkah & Madinah.

Contact Us

© 2026 Holy Ziyarat Ltd. All Rights Reserved.

Holy Ziyarat Ltd is registered in England and Wales, company number 17534607. Registered office: Office 2112, 85 Dunstall Hill, Wolverhampton, WV6 0SR, United Kingdom.