Ksar Mosque or Jemaâ Al Ksar, also of the Hanafi rite, is a mosque in Tunis, Tunisia. Located in front of Dar Hussein, it was built in the early 12th century. The mosque was originally built circa 1106 by Ahmad ibn 'Abd al-'Aziz, the leader of the Banu Khurasan who governed Tunis during this time. Near the mosque he also built a palace.