page_title: Sidi Okba Mosque
section_title: History
hierarchical_section_title: Sidi Okba Mosque / History
caption_attribution_description: Postcard of Sidi Okba Mosque, Algeria
context_page_description: Sidi Okba Mosque is the oldest surviving mosque in Algeria. The mosque was first established as the mausoleum in 686 dedicated to ʻUqbah ibn Nāfiʻ, a Companion of the Prophet and one of the prominent commanders of the Muslim conquest of the Maghreb. The mosque has witnessed many renovations since then.
context_section_description: ʻUqbah ibn Nāfiʻ, on his return from the victorious Battle of Vescera in the Atlas Mountains, was killed by the army of the Berber Christian king Kusayla ibn Lamzah in an ambush outside the town of Thouda in 683.
  His corpse was buried in the current Sidi Okba, and later the mosque was built on top of it for commemoration. It is not exactly recorded who built the mosque. Historians consider that it was the followers of Uqba who were captured during the battle, and later redeemed by the judges in Tunis from the prison. Commander Zuhayr ibn Qays sent them back along with other Muslims to Thouda, where they built the mosque.
  The building was initially built in very simple manner, entirely by limestone mortars, and there was no precious materials being used. This architectural style resembled some of the oldest Islamic architectures and the mosques built by the hand of Muhammad himself. Certain architectural elements were also similar to the mosques built during the time, including the qibla wall.
  The mosque had been renovated several times, some of which records were lost and difficult to assess the exact date and details. One of the renovations were conducted in 1025 under the rule of Zirid emir al-Mu'izz ibn Badis. According to the inscription inscribed in the mausoleum which uses the similar letters being used as well in the Great Mosque of Kairouan, a decorative door was added to the mosque. In the 14th century, a zawiya was instituted by the Awlad Mourat. During Ottoman Algeria, another renovation was conducted by the wali Mohamed ben Omar al-Tunisi, and this is inscribed on the mihrab as the year 1789. There are other inscriptions designating the dates of renovations as well, including the decoration of the painting on the wall which designates the year 1800.
caption: Overall view of the mosque (circa 1900)
exif: {"Image ImageDescription": "", "Image Make": "SONY", "Image Model": "DSC-S90", "Image Orientation": "Horizontal (normal)", "Image XResolution": "72", "Image YResolution": "72", "Image ResolutionUnit": "Pixels/Inch", "Image DateTime": "2007:05:20 14:53:00", "Image YCbCrPositioning": "Co-sited", "Image ExifOffset": "256", "Image PrintIM": "[80, 114, 105, 110, 116, 73, 77, 0, 48, 51, 48, 48, 0, 0, 2, 0, 2, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0]", "Thumbnail Compression": "JPEG (old-style)", "Thumbnail Make": "SONY", "Thumbnail Model": "DSC-S90", "Thumbnail Orientation": "Horizontal (normal)", "Thumbnail XResolution": "72", "Thumbnail YResolution": "72", "Thumbnail ResolutionUnit": "Pixels/Inch", "Thumbnail DateTime": "2007:05:20 14:53:00", "Thumbnail JPEGInterchangeFormat": "2484", "Thumbnail JPEGInterchangeFormatLength": "12603", "EXIF ExposureTime": "1/250", "EXIF FNumber": "9", "EXIF ExposureProgram": "Program Normal", "EXIF ISOSpeedRatings": "80", "EXIF ExifVersion": "0220", "EXIF DateTimeOriginal": "2007:05:20 14:53:00", "EXIF DateTimeDigitized": "2007:05:20 14:53:00", "EXIF ComponentsConfiguration": "YCbCr", "EXIF CompressedBitsPerPixel": "8", "EXIF ExposureBiasValue": "0", "EXIF MaxApertureValue": "3", "EXIF MeteringMode": "Pattern", "EXIF LightSource": "Unknown", "EXIF Flash": "Flash did not fire, compulsory flash mode", "EXIF FocalLength": "78/5", "EXIF FlashPixVersion": "0100", "EXIF ColorSpace": "sRGB", "EXIF ExifImageWidth": "2304", "EXIF ExifImageLength": "1728", "Interoperability InteroperabilityIndex": "R98", "Interoperability InteroperabilityVersion": "[48, 49, 48, 48]", "EXIF InteroperabilityOffset": "2278", "EXIF FileSource": "Digital Camera", "EXIF SceneType": "Directly Photographed", "EXIF CustomRendered": "Normal", "EXIF ExposureMode": "Auto Exposure", "EXIF WhiteBalance": "Auto", "EXIF SceneCaptureType": "Standard", "EXIF Contrast": "Normal", "EXIF Saturation": "Normal", "EXIF Sharpness": "Normal"}