Moulay Idriss or Moulay Idriss Zerhoun (Arabic: مولاي إدريس), a town in northern Morocco, is named after Moulay Idris I, the founder of the Idrisid Dynasty. Moulay is a term roughly equivalent to "Prince" or "Lord". Idris founded both Fez and the city that bears his name. His tomb, located in Moulay Idriss, is a pilgrimage site for Muslims.
Idris I was the great grandchild of Hasan, son of Ali and grandson of Prophet Muhammad. He escaped from Syria after the defeat of the Alids by the Abbasids at the battle of Fakhkh in 787 and in 789 arrived in Walīla, the site of the Roman Volubilis, where he founded the town of Moulay Idriss near the hill of Zerhoun surrounding the native Berber tribes. It was then occupied by the Berber tribe of the Awraba, under Ishaq ibn Mohammd. He married Kanza, daughter of Ishaq ben Mohammed the king of the tribe, fathering a son, Idris II. This event is considered a consolidation and the birth of both the Idrisid dynasty and the birth of Morocco.
Idriss I reportedly spent five years in Morocco before he was allegedly murdered in the year 792 by emissaries of the Abbasid caliph Harun Al-Rashid.
The ruins of the Phoenician and Roman city of Volubilis are located nearby.