Jami' al-Qasba is next the Dar El Makhzen, and its primary entrance is on rue Ibn Abbou. The mosque was constructed by Ali Bin Abdullah al-Riffi during the reign of Moulay Ismail Ibn Sharif (r. 1672-1727/1083-1139 AH) after the rebuilding of Tangier following the bombardment by the evacuating English forces in 1684. Significant repairs were made to the structure by Mohammed IV (r. 1859-1873/1259-1290 AH) who enlarged the prayer room, and it was restored again for the visit of Hassan I (r. 1873-1894/1290-1311 AH) in 1889.
The entrance is framed by a large horseshoe arch decorated with elaborate zellij that is visible for the first time since ca. 1921. As Naïma El-Khatib Boujibar has stated in "The Ports of the Strait" from Andalusian Morocco, it was then
that a nadir of the habous, the regional representative of the endowment administration, had the idea of covering the decorations with unfortunate colors. (p. 198)
It's most notable features is the minaret The mosque is one of very few in Morocco with an octagonal, rather than square minaret. Crenelated at the summit, and elaborately decorated with carved stucco, and a mosaic pattern in green, yellow, and blue tiles, the minaret was most likely built by Ali's successor, Pasha Ahmed, who was responsible for a number of octagonal minarets in the Rif region of Morocco.
Recently the mosque underwent a major renovation that took over a year. It will reopened in early June 2015.
-Michael A. Toler, Archnet Content Manager, AKDC @MIT, June 2015
SOURCES:
"La mosquée al Kasba à Tanger" in Atlas de Mosquées du Maroc. Ministere des Habous et des Affairs Islamiques. http://habous.gov.ma/fr/atlas-des-mosquees.html
Boujibar, Naïma El-Khatib, "Ports on the Straits" in Museum With No Frontiers. Andalusian Morocco: A Discovery in Living Art. Vienna: Museum With No Frontiers, 2002.
Guiguet-Bologne, Philippe. Un guide de Tanger et de sa région. 20 Tanger, Maroc: Litograf, 1996.
"Ibn Abbou, Mezquita De La Kasba." Tanger. El Mundo En Una Ciudad. Accessed March 10, 2015. http://tingisaecid.com/v2/view_ent/view_building.php?id=161.
Roca, Juan Ramón. Tangier and Its Surroundings, Assilah and Chefchaouen An Illustrated Guide. 102. Alicante (C/ San Carlos, 93, 03013 Alicante): J.R. Roca, 2011.