The Kaaba, which remains the most significant mosque in Islam, is believed to have been constructed by Ibrahim and Ishmael.