Islam was introduced to the Horn region early on from the Arabian peninsula, shortly after the hijra. Zeila's two-mihrab Masjid al-Qiblatayn dates to about the 7th century, and is the oldest mosque in Africa. In the late 9th century, Al-Yaqubi wrote that Muslims were living along the northern Somali seaboard.