Ancient Egyptian literature stated that anything past Aswan along the Red Sea and Nile was Nubian.
That area includes northern Somalia.
The Periplus of the Erythrean Sea (written in 150AD) stated that the cities of Mosylon and Sarapion (Bosasso and Xamar) were Arab and Indian trading ports with a local population.
1. We don't know who the locals were
2. This was over 400 years before Muhammad SAW's birth, so those Arabs were gaalo.
3. We do not know what happened to the ajnabis or the locals.
-----
I think we could never really determine where Somalis came from.
However, today Somalis are Cushitic peoples and the past is not relevant apart from satisfying some curiosity about the history of Somalis.
That area includes northern Somalia.
The Periplus of the Erythrean Sea (written in 150AD) stated that the cities of Mosylon and Sarapion (Bosasso and Xamar) were Arab and Indian trading ports with a local population.
1. We don't know who the locals were
2. This was over 400 years before Muhammad SAW's birth, so those Arabs were gaalo.
3. We do not know what happened to the ajnabis or the locals.
-----
I think we could never really determine where Somalis came from.
However, today Somalis are Cushitic peoples and the past is not relevant apart from satisfying some curiosity about the history of Somalis.