The Khamis Mosque is believed to be the first mosque in Bahrain, built during the era of the Umayyad caliph Umar II.