In the 14th , century Burhan al-Din Ibrahim al-Mahalli paid the costs of restoring the mosque . In 1303 , Amir Salar restored the mosque after an earthquake . He also added a stucco prayer niche for the outer wall of the mosque , which is now gone
an earthquake
1303 Crete earthquake
Mosque of Amr ibn al-As