The Qarawiyyin Mosque, Fez, Morocco (859) The original building was inserted into the existing urban fabric and was surrounded by a celebrated university.