Was Islam spread by the sword?
No.
For example:
Spread of
Islam in Kenya:
Historical overview
Islamic arrival on the Swahili Coast
Pioneer Muslim traders arrived on the Swahili Coast around the eighth century. The tension surrounding the succession of Muhammad, the prophet of Islam, and the already established trade links between the Persian Gulf and the Swahili Coast were some of the factors leading to this development
Archaeological evidence attests to a thriving Muslim town on Manda Island by the Tenth Century AD.[4] The Moroccan Muslim traveller, Ibn Battuta, visiting the Swahili Coast in 1331 AD, reported a strong Muslim presence. Ibn Battuta said: The inhabitants are pious, honourable, and upright, and they have well-built wooden mosques.[5]
On arrival, the Muslims settled along the coast, engaging in trade. The Shirazi intermarried with the local Bantu people resulting in the Swahili people, most of who converted to Islam. Swahili, structurally a Bantu Language with heavy borrowings from Arabic, was born.[6]
Primarily, Islam spread through the assimilation of individuals, with the Arab Muslims who had settled in small groups maintaining their culture, and religious practices. Despite encountering local communities, Islam was not indigenized along the patterns of the local Bantu communities. Nevertheless, Islam grew through absorption of individuals into the newly established Afro-Arabic Muslim communities. This resulted in more Swahilization than Islamization.[7]
There was strong resistance toward Islam by the majority of communities living in the interior. The resistance was because conversion was an individual act, leading to detribalization and integration into the Muslim community going against the socially acceptable communal life.[7]
Islam on the Swahili Coast was different from the rest of Africa. Unlike West Africa where Islam was integrated to the local communities, the local Islam was foreign; the Arab-Muslims lived as if they were in the Middle East
The primary concern for the early Muslims was trade with a few interested in propagating Islam. The arrival of the Portuguese in the 15th Century interrupted the small work in progress. On the other hand, the interstate quarrels that ensued meant that much effort was now directed towards restoring normality and not Islamization.[8]
Islam in Kenya - Wikipedia, the free encyclopedia
I don't see any sword in spread of Islam in Kenya.
Do you? Please
Regards