Bab er Robb (Arabic: باب الرب) is a southern city gate in the historic medina of Marrakech, Morocco.
While some historians believe the gate to be of Almohad origin (specifically under Ya'qub al-Mansur) due to its location relative to the Almohad Kasbah,[1][2] architect and specialist of Moroccan architecture Quentin Wilbaux more recently argued that its location in the wider schema of the city suggests it was an original Almoravid gate.
[2][3] The word Robb or Rubb refers to a type of cooked wine whose vineyards were cultivated along the Neffis River and thus imported and regulated through this gate.
[3][1] A water basin measuring approximately 70 by 40 metres once existed outside this gate, in an area now covered by a cemetery, and was used for swimming practice.
Since both entrances still faced north, this meant that the outer entrance faced away from the countryside and towards the city walls; as a result, travelers coming from the south, outside the city, had to walk all the way around to the other side of the bastion in order to enter it from the north.