Abu El-Haggag Mosque: The 13th-Century Mosque Built Inside Luxor Temple
- What Is the Abu El-Haggag Mosque?
The Abu El-Haggag Mosque sits inside the walls of Luxor Temple, on the upper level of the first court, built by Ramesses II around 1250 BC. It's a working mosque with Friday prayers and a resident imam—the whole thing, not a ruin or a museum piece. That's what throws people off. You walk through a 3,000-year-old temple gate, and there's a minaret above you.
The mosque is named for Sheikh Yusuf Abu al-Haggag, a Sufi preacher who lived in the 12th and 13th centuries and eventually settled in Luxor, where he became the city's patron saint. (Accounts differ on where he was born, Damascus, Baghdad, and Morocco all appear in different sources, so we're not stating one as fact.) He's buried inside the mosque. Locals still call the building simply "Abu Haggag," and the annual festival built around his memory is one of Luxor's biggest events of the year; more on that below.
For visitors, the mosque is usually seen from outside and below, from the temple's colonnade or first court, rather than entered as part of a standard temple ticket.
- A Site of Worship Longer Than Almost Anywhere Else
Luxor Temple itself goes back to Amenhotep III, around 1400 BC, and was expanded later by Ramesses II; the court the mosque now sits in is his addition. That's the pharaonic layer. But the site didn't stop being sacred when Egypt stopped worshipping Amun.
By the late Roman period, the temple had been folded into a military camp and used for imperial cult worship. Later still, Christians built a church inside the same court; remains of it are still there, underneath and around the mosque. Then, in the 13th century, under the Ayyubid sultan As-Salih Ayyub, the mosque of Abu El-Haggag went up on top of it all.
So the short version: temple, then church, then mosque, same patch of ground. Temple, church, and mosque on the same stones, roughly 3,400 years apart in origin but standing in the same footprint today.
- The Moulid of Abu El-Haggag
Once a year, the mosque is the center of the loudest, most colorful few days in Luxor. The Moulid of Abu El-Haggag falls in the Islamic month of Shaaban, about two weeks before Ramadan, which means the date shifts on the Gregorian calendar every year, moving about eleven or twelve days earlier each time.
For two to three days, boats get paraded around the temple grounds, carried rather than sailed, by descendants of the sheikh's family. The route echoes something older: this is roughly the same path the sacred barks of Amun, Mut, and Khonsu took during the ancient Opet Festival, more than three thousand years earlier. Nobody claims a direct, unbroken line between the two, but the overlap in geography and timing is hard to ignore.
Alongside the religious side, chanting, Quran recitation, and a council of the sheikh's descendants held inside the mosque, the moulid also looks like any Egyptian street festival: horse races, Sufi music, stick-fighting displays, and food stalls. Muslims and Christians in Luxor both turn out for it. It's one of the few times of the year the mosque and the temple around it are genuinely packed.
-Visiting the Mosque: What to Expect
The mosque is easy to see and hard to fully enter. Most visitors experience it the way the majority of tourists do: looking up at it from the temple's first court or the colonnade, not walking through its prayer hall. It's an active mosque with a working congregation, not a stop built into the standard Luxor Temple ticket.
That said, visitors have been able to go inside; accounts from people who've entered mention removing their shoes and covering their head and shoulders at the door, the same as any working mosque in Egypt. (Flag for verification: current entry policy, hours, and any fee should be confirmed directly with Luxor Temple/Ministry of Tourism sources before publishing, since site access rules can change.)
Non-Muslims appear to be welcome to view the mosque from the temple grounds, and there's no indication of restrictions on photographing it from outside, though, as with most religious sites, it's worth checking before photographing anyone actually praying inside.
Nearby: Luxor Temple and the East Bank
The mosque doesn't stand alone; it's one stop inside a much bigger site. Luxor Temple itself is worth an hour or more beyond the mosque, and Karnak Temple, the largest religious complex built in ancient Egypt, is a short drive north along the same bank of the Nile. Both sit on Luxor's East Bank, along with the Luxor Museum and the Mummification Museum, making the area easy to cover in a single day without crossing the river.
For travelers building a Luxor itinerary around the temple, the mosque is a five-minute detour with a very different story to tell than anything else on the East Bank, worth building into the visit rather than rushing past.