There is a clear prohibition by the Prophet (Peace and blessings be upon him) from fighting the Habashi's and Turks. (Somalis included).
"Leave the Habashi's alone so long as they leave you alone, and leave the Turks alone so long as they leave you alone.'"
دَعُوا الْحَبَشَةَ مَا وَدَعُوكُمْ وَاتْرُكُوا التُّرْكَ مَا تَرَكُوكُمْ " .
It comes under the chapter
"prohibition of agitating the Turks and Habashi's"
Hadith of the Prophet Muhammad (saws) in English and Arabic
sunnah.com
The English translations are incorrectly translating the Arabic word "Habasha" to "Abyssinia" and "Ethiopia" which are false, The land of Habesha is East Africa.
The Hadith in Sunan Nasa'i is longer, her is the last part.
They said: 'O Messenger of Allah, pray to Allah to grant us victory and to give us their lands as spoils of war, and to destroy their lands at our hands.' So the Messenger of Allah (ﷺ) prayed for that. (Then he said
'Then I struck the third blow and the cities of Habesha were shown to me, and the villages around them, and I saw them with my own eyes.' But the Messenger of Allah (ﷺ) said at that point: 'Leave the Habashi's alone so long as they leave you alone, and leave the Turks alone so long as they leave you alone.'"
قَالُوا يَا رَسُولَ اللَّهِ ادْعُ اللَّهَ أَنْ يَفْتَحَهَا عَلَيْنَا وَيُغَنِّمَنَا دِيَارَهُمْ وَيُخَرِّبَ بِأَيْدِينَا بِلاَدَهُمْ . فَدَعَا رَسُولُ اللَّهِ صلى الله عليه وسلم بِذَلِكَ " ثُمَّ ضَرَبْتُ الثَّالِثَةَ فَرُفِعَتْ لِي مَدَائِنُ الْحَبَشَةِ . وَمَا حَوْلَهَا مِنَ الْقُرَى حَتَّى رَأَيْتُهَا بِعَيْنَىَّ " . قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم عِنْدَ ذَلِكَ " دَعُوا الْحَبَشَةَ مَا وَدَعُوكُمْ وَاتْرُكُوا التُّرْكَ مَا تَرَكُوكُمْ "
Hadith of the Prophet Muhammad (saws) in English and Arabic
sunnah.com