As far as Africa is concerned, Islam entered into East Africa at the very beginning of the Islamic period but remained confined to the coast for some time, only the Sudan and Somaliland becoming gradually both Arabized and Islamized. West Africa felt the presence of Islam through North African traders who traveled with their camel caravans south of the Sahara. By the 14th century there were already Muslim sultanates in such areas as Mali, and Timbuctu in West Africa and Harar in East Africa had become seats of Islamic learning.
Gradually Islam penetrated both inland and southward. There also appeared major charismatic figures who inspired intense resistance against European domination. The process of the Islamization of Africa did not cease during the colonial period and continues even today with the result that most Africans are now Muslims carrying on a tradition which has had practically as long a history in certain areas of sub-Saharan Africa as Islam itself.
"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari