The existing inscriptions in the mosque do not give an idea about the exact date of construction of the mosque. Due to the similarity of its plan with the Grand Mosque of Aleppo which took its present shape after having been restored by Nurettin Zengi, it is believed that it was built by the same ruler during the Zengi dynasty. It is one of the oldest mosques at the centre of Urfa.