In the late 9th century , Al - Yaqubi wrote that Muslims were living along the northern Somali seaboard .
Zeila , in adjacent Somalia 's two - mihrab Masjid al - Qiblatayn , dates to the 7th century and is the oldest mosque in the city .
In the late 9th century , Al - Yaqubi wrote that Muslims were living along the northern Somalia seaboard .
Zeila , in adjacent Somalia 's two - mihrab Masjid al - Qiblatayn , dates to the 7th century and is the oldest mosque in the city .