In the ancient times, Kerala had good trade relations with Middle-east countries like As Syria and Babylonia. The Arab merchants visited Kerala frequently for its wide variety of spices. It was these traders who spread Islam religion in Kerala. It is believed that the Islam religion had spread to the rest of India from Kerala. These traders settled in the coastal areas of Kerala. In 644 A.D., Malikben Dinar came to Kerala and established mosques at various places.
At present the Muslims constitute to form the second highest religious community with a percentage of 24.7 of the total population. The Muslims have inhabited mostly in the northern districts of the state. The district with the highest Muslim population is the Malappuram district. It is then followed by the districts Kannur, Kozhikode and Wayanad.