Look for the graffiti of Napoleon's French soldiers on the stone of the towers; they spent some time garrisoned at the mosque and made sure they left their marks for posterity.
Napoleonic French soldiers left their graffiti on the Mosque