Stop 1 of 6

Bab Mahrouk

باب محروق

Here, for the first time, the route shows how a political reprisal became fixed in the city's toponymy.

10 min
Bab Mahrouk Gate with a large arch and a thick earthen facade
Robert Prazeres · CC BY‑SA 4.0; cropped/resized for app
123456

0 of 6 done

Audio guide · recorded voiceListen to the place’s story

Look around first

What to notice

  • Gate arch
  • Gate passage
  • Line of the city wall
  • Beginning of Tala'a Kebira

The story of the place

Text size

An arched passage survives in the line of the city wall, through which people entered the medina from the west. Tala'a Kebira, the great street leading through the old city, begins here. When builders finished the gate in twelve oh four and hung its doors, it was still called Bab ash-Shari'a, the Gate of Sharia.

“Mahrouk” means “burned” in Arabic. The gate's name preserved a person's fate, but not his name. His name was Muhammad al-'Ubaydi. At the beginning of the thirteenth century, he led a revolt in the Ouergha Mountains near Ouezzane and declared himself a claimant to the caliphal throne.

Al-'Ubaydi derived his right from his lineage: chroniclers called him a descendant of the last Fatimid caliph of Egypt. The Fatimids had lost the throne about thirty years earlier, but his descent gave al-'Ubaydi grounds to claim the highest title—the caliph was regarded as both sovereign and head of the community of believers. His claims rested on this lineage, and the entire revolt rested on the people who believed it.

The Almohad caliph Muhammad al-Nasir was already on the throne. He sent an army into the mountains to destroy his rival. Al-Nasir's men defeated al-'Ubaydi's detachment and killed him. They then took his body to Fez. Such a journey was not needed for burial: the caliph needed an act the townspeople would see.

The medina's main western entrance was then called Bab ash-Shari'a—the Gate of Sharia. Tala'a Kebira, the great street running through the entire old city, began here. In twelve oh four, builders finished the new gate and hung its doors. That same day, al-Nasir's men burned al-'Ubaydi's body in the passage itself, and displayed his head above the gate. Anyone entering Fez from the west passed beneath the outcome of an unsuccessful claim to the throne.

The reprisal did not end this story at once. About ten years later, al-'Ubaydi's son led a new uprising among the Ghomara Berber tribes and repeated the Fatimid claim. Al-Nasir ordered him killed as well. At the gate itself, after the execution of the first al-'Ubaydi, the heads of other rebels continued to be displayed.

Al-'Ubaydi's remains are not here, and no separate monument was erected for him. What remains are the gate, completed on the day of the burning, and a singular name: Bab Mahrouk—the Gate of the Burned Man.

Useful on site

Time at the stop10 min
Next stopNorthern Walls
Entranceoutside

Free access; the gates do not close.

Checked: June 22, 2026. Check the official source before visiting.

Examine the gate without obstructing passage into the functioning city; treat the neighboring burial sites with restraint.

Next step

Where to next

Go around the gate from the outside and continue along the northern wall.

Stop 1 of 6Next: Northern Walls

Route completed

Walk completed

“Fez's Northern Walls and Heights” — 6 stops, about 3.9 km, 1 hr 30 min.

No App Store or Google Play

Guide On Map installs like an app

An icon appears on your home screen, the site opens without browser chrome, and downloaded routes stay handy.

Android · Chrome
  1. If “Install now” is below, tap it and confirm the install.
  2. If there is no button: menu ⋮ → “Install app”.
iPhone · Safari
  1. Tap the Share button at the bottom of Safari.
  2. Choose “Add to Home Screen”, then “Add”.
Home-screen iconFullscreen modeOffline routesWalk progress