Yusuf ibn Tashfin
An inscription on the mosque's minbar (pulpit) records the date of 1 Rajab, 490 AH, testifying to fact that the mosque was built in or around 1097 CE, during the reign of Yusuf ibn Tashfin. On inscription on the base of the minaret indicates that it was built in 1322 CE (17 Dhu al-Qadah, 722 AH) by the Zayyanid sultan Abu Tashfin I of Tlemcen.