 The excavation has revealed regarding the design of the mosque that it was built by the Sultan Abu Yakub in 1303, and the decoration of the main gate was done by Abu al-Hassan in 1336.Inside the yard there are 13 doors which surrounded by the wall, and a sahn with a fountain in the middle.The sahn is surrounded by three corridors, of which employ similar tilework with the prayer hall.