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.
They left graffiti on the Mosque as a joke