How did Islam come to Africa?
In short
Islam reached Africa almost at its beginning. Around 615, a group of the Prophet's persecuted followers found refuge with the Christian king of Aksum in Ethiopia. Later, Arab armies brought Egypt and North Africa under Muslim rule, while merchants, scholars and Sufi teachers carried the faith across the Sahara and along the East African coast over many centuries. Africa is home to some of the oldest Muslim communities and great centres of Islamic learning.
A refuge before a homeland
Before Islam had a city of its own, some of the first Muslims crossed the Red Sea to escape persecution in Mecca. The Negus, the Christian king of Aksum, refused to hand them back. Years later, when he died, the Prophet ﷺ told his Companions that a righteous man had died that day and led them in the funeral prayer for their brother, though the Negus had died far away. Muslims remember that Islam's first refuge abroad was an African Christian kingdom, and that among the earliest and most honoured of the Prophet's Companions (his first followers) was Bilal, of Abyssinian descent.
Egypt and the north
Arab Muslim armies took Egypt from Byzantine rule between 639 and 642, and after decades of campaigns and fierce resistance North Africa came under Muslim rule. Conversion was slow: Coptic Christians remain a large community in Egypt today. The Amazigh (Berber) peoples of the Maghreb gradually became Muslim and then carried Islam themselves, north into Spain and south across the desert.
Across the Sahara
The caravan trade in gold and salt linked North Africa with the Sahel. Muslim merchants settled in its towns, and rulers found literate Muslim advisers useful. Around 1068 the geographer al-Bakri described the royal city of Ghana as two towns, one of them Muslim with twelve mosques, while the king kept his ancestral religion. The rulers of Mali became Muslim; Mansa Musa's pilgrimage through Cairo in 1324, with its legendary gold, was remembered for generations. Ibn Battuta, visiting Mali in 1352–53, praised the safety of its roads, people's devotion to prayer and their zeal for memorising the Quran, while criticising some local customs. Timbuktu and Djenné became cities of scholars and manuscripts.
The Swahili coast and later movements
On the east coast, the monsoon winds of the Indian Ocean linked Africa with Arabia, Persia and India. At Shanga in Kenya, archaeologists have radiocarbon-dated the first mosque on the site to the eighth century. The Swahili language and culture, rich in Arabic words yet thoroughly African, grew from that meeting. Later reform movements also shaped African Islam: in the early nineteenth century Usman dan Fodio's call to renewal in Hausaland became a war and founded the Sokoto Caliphate. The story includes teaching, trade, rulers and armies, in different proportions in different places.
Sources
Narrated by Jabir: when the Negus, the king of Abyssinia, died, the Prophet ﷺ told his Companions that a righteous man had died that day, and asked them to stand and pray the funeral prayer for their brother Ashama.
Summary in our words, not a translation.
Open source text ↗Umar ibn al-Khattab used to say: Abu Bakr is our master, and he freed our master, meaning Bilal, the formerly enslaved Companion of Abyssinian descent.
Summary in our words, not a translation.
Open source text ↗يَـٰٓأَيُّهَا ٱلنَّاسُ إِنَّا خَلَقۡنَٰكُم مِّن ذَكَرٖ وَأُنثَىٰ وَجَعَلۡنَٰكُمۡ شُعُوبٗا وَقَبَآئِلَ لِتَعَارَفُوٓاْۚ إِنَّ أَكۡرَمَكُمۡ عِندَ ٱللَّهِ أَتۡقَىٰكُمۡۚ إِنَّ ٱللَّهَ عَلِيمٌ خَبِيرٞ ﴿١٣﴾
People, We created you from a male and a female, and made you into peoples and tribes so that you may come to know one another. The most honoured of you in God's sight is the most mindful of Him. God is All-Knowing, All-Aware.
IslamLens paraphrase of the meaning, not a translation
Transliteration
Ya ayyuha alnnasu inna khalaqnakum min thakarin waontha wajaʿalnakum shuʿooban waqabaila litaʿarafoo inna akramakum ʿinda Allahi atqakum inna Allaha ʿaleemun khabeerun
وَمِنۡ ءَايَٰتِهِۦ خَلۡقُ ٱلسَّمَٰوَٰتِ وَٱلۡأَرۡضِ وَٱخۡتِلَٰفُ أَلۡسِنَتِكُمۡ وَأَلۡوَٰنِكُمۡۚ إِنَّ فِي ذَٰلِكَ لَأٓيَٰتٖ لِّلۡعَٰلِمِينَ ﴿٢٢﴾
Among His signs are the creation of the heavens and the earth and the variety of your languages and your colours. There are signs in this for those who know.
IslamLens paraphrase of the meaning, not a translation
Transliteration
Wamin ayatihi khalqu alssamawati waalardi waikhtilafu alsinatikum waalwanikum inna fee thalika laayatin lilʿalimeena
Kitab al-Masalik wa al-Mamalik · The Book of Routes and Realms
An Andalusian geography compiled around 1068 from earlier writers and informants, with an early description of the kingdom of Ghana and its Muslim community.
Tuhfat an-Nuzzar fi Ghara'ib al-Amsar wa 'Aja'ib al-Asfar · A Gift to Those Who Contemplate the Wonders of Cities and the Marvels of Travelling (The Travels)
A fourteenth-century travel account, dictated after journeys across North and West Africa, the Swahili coast, Arabia, South and Southeast Asia and China, including stays in Samudera Pasai and Mali.