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

Masjid al-Rayah

Masjid al-Rayah, the Mosque of the Banner, was one of the small historic mosques of Makkah. Tradition held that it stood where the Prophet's banner was planted when the Muslims entered the city in 630 CE. If you are looking for it today, you are unlikely to find it: according to several reference works, the mosque was demolished around 2010 to make room for the northern expansion of the Masjid al-Haram.

What the mosque commemorated

The conquest of Makkah in Ramadan of the eighth year after the Hijrah is one of the best documented episodes in the Prophet's life. The Muslim army entered the city from several directions with very little fighting, and the Prophet went to the Kaaba and cleared it of idols. Early sources describe the army's banners and where different commanders entered.

The specific claim that the main banner was planted on this spot, in the district north of the Haram known in later centuries as al-Judariyyah, is a local tradition preserved by Makkan historians. A small mosque was built to mark it. Accounts say it was rebuilt in the Abbasid period, in the seventh century of the Islamic calendar, and repaired many times after that. It was also known as Masjid al-Judariyyah after the neighbourhood around it.

What happened to it

From the 1950s onward the Saudi state carried out successive expansions of the Masjid al-Haram to cope with rising numbers of pilgrims. The largest, launched in the late 2000s, pushed the Haram far to the north, and whole districts were cleared. Masjid al-Rayah lay in the area affected, and several reference works state that it was demolished at the start of that work, in 1431 AH (2009 to 2010). We have not found an official Saudi record of the demolition, and press articles from the following years still mention the mosque among Makkah's historic sites, so if you want certainty, ask locally before setting out to look for it.

The removal was one of many. Historic houses, old mosques and Ottoman buildings around the Haram were cleared during the same decades, a policy that critics have described as a serious loss of heritage, while Saudi authorities have argued that capacity and safety for millions of worshippers had to come first. Our page on Makkah's history covers the expansions in more detail.

Another Masjid al-Rayah in Madinah

There is a second, still-standing Masjid al-Rayah in Madinah, on a small hill called Jabal Dhubab, a short drive north of the Prophet's Mosque. It is linked by tradition to the Battle of the Trench in 627 CE rather than to the conquest of Makkah. Tour leaflets sometimes mix the two up, so check which city a guide is referring to.

If you want to see the area

As far as we can establish, there is nothing to visit at the original site in Makkah, and no marker shows where the mosque stood. Pilgrims who want to reflect on the conquest of Makkah usually do so at the Kaaba itself, where the Prophet removed the idols. For historic sites that can still be visited, see our guide to places in and around Makkah, including Masjid al-Jinn, one of the few old mosque sites north of the Haram that still has a working mosque.

Sources

Page updated 2026-11-21