Analysis of information sources in references of the Wikipedia article "شیرازیها" in Persian language version.
According to oral tradition, beginning in the tenth century immigrants from the Shiraz region of Persia (now Iran) settled the islands and mainland ports of coastal East Africa, from Mogadishu, Somalia, in the north to the Sofala coast of Mozambique in the south. Many scholars, however, believe that the Shirazi actually began their settlement of the East Africa coast in the twelfth century and that they originated in Somalia.
"In the twelfth century more foreigners emigrated from diverse parts of the Persian Gulf and settled in Mogadishu, Brava and elsewhere on the Benadir and the coast of the Shungwaya country, the southern hinterland of Somalia remembered as the homeland of the Kashur. These foreigners developed the trade of Mogadishu, which rapidly rose to a position of pre-eminence. In particular, they opened up the gold trade with the Sofala country, which until then can only have been on a minor scale. In furtherance of the trade with the south some of these merchants, ancestors of whom came from the Persian Gulf and who were remembered as of 'Shirazi' origin, settled on the islands of Mafia and Kilwa, rapidly, it appears, achieving a position of dominance. By about AD 1200 they had established themselves as rulers.