A medieval Arabic source dates the foundation of this mosque to 1381-1382/783 AH. The mosque as it stands today has accretions and additions.
Sources:
Gaube, Heins, and Eugin Wirth. Aleppo: Historische und geographische Beiträge zur baulichen Gestaltung, zur sozialen Organisation und zur wirtschaftlichen Dynamik einer vorderasiatischen Fernhandelsmetropole. 2 vols. Wiesbaden: Dr. Ludwig Reichert, 1984. cat. no. 573.
Meinecke, Michael. Die Mamlukische Architektur in Ägypten Und Syrien (658/1250 Bis 923/1517). 2: 263. 2 vols. Glückstadt: J. J. Augustin, 1992.