Considering the Thalassa Mahdia in Mahdia?
A VT member wrote the following comment about visiting Mahdia:
Great Mosque by Willettsworld
The Great Mosque was built in 921 AD by the founder of the town, Obaid Allah el Mahdi. It was the first Fatimid mosque modeled on the Sidi Oqba Mosque in Kairouan. It was connected on two sides with the town walls and when these were blown up by the Spaniards the mosque too was destroyed with the exception of the north front. A temporary building was erected to replace it but this was found to be in danger of collapse and was pulled down in the 1960s. The Great Mosque was carefully rebuilt on its old site in accordance with the original plans. The inner courtyard, 42m (138ft) by 50m (164ft) is surrounded on three sides by a colonnade with horseshoe arches. The nine-aisled prayer hall, three bays deep, has the same ground-plan as its prototype in Kairouan. The central aisle leading to the mihrab is wider than the other eight. The bay in front of the mihrab is crowned by a dome.