This is the board outside the Cheraman Perumal Juma Masjid near present day Kodungallur, Kerala which proclaims that the mosque was established when Prophet Muhammad was alive. It also means that this particular mosque was established before the first mosques in Iraq (639 CE), Syria (715 CE), Egypt (642 CE), and Tunisia (670 CE) thus making it oldest mosque after the first mosques in Saudi Arabia and China. The interesting question is why would a mosque be established so far away from the deserts where Islam was spreading? Who was behind it and more importantly, is the mosque as old as it claims?
There is a popular story behind this mosque which is well known in Kerala even today. Once a king — a Cheraman Perumal — was walking on the balcony of his palace when he spotted the moon splitting into two and joining back again. Bewildered, he consulted a few astrologers, who confirmed that such an event had indeed occurred and was not a mystical experience. Few months later, he got a few Arab visitors on their way to Ceylon and from them, the king learned that Prophet Muhammad was behind this miracle and he was the founder of a new religion. The king did something drastic. He abdicated the throne, divvied up the kingdom and set sail to Mecca to meet this man. He met the Prophet and converted to Islam and lived in Arabia for a while. Then to spread the religion in his homeland, the converted Perumal returned to Kerala, but he died somewhere along the way.
Later, few of his followers reach Cranganore and it is they who set up the first mosques, including the one at Kodungallur. According to the legend, Saraf Ibn Malik, Malik Ibn Dinar, Malik Ibn Habib, Ibn Malik and their wives and friends were responsible for establishing the first mosques at Kodungallur, Kollam (in North, not Quilon), Maravi (Matayi), Fakanur, Manjarur (Mangalore), Kanjirakuttu (Kasergode), Jarfattan (Karippat), Dahfattan (Dharmatam), Fandarina (Pantalayani Kollam) and Caliyath (Chaliyam near Beypore)
There is one thing to be noted about Cheraman Perumal. That was not the name of a particular king, but a title. Cheraman was the name of the dynasty of Chera rulers and Perumal meant, ‘the great one’. According to Keralolpathi (Origins of Kerala), written in the 17th or 18th century, following various conflicts in the 9th century, the representatives of 64 settlements in Kerala brought the Perumals from outside Kerala and each one was to rule for 12 years. There have been exceptions, though and once such exception would play an important role in this story.
First, is this story really true?
This story is found in a Muslim account recorded by Sheikh Zeinuddin as well as in the Brahminical narrative, Keralolpathi. The story has been retold countless times by the Portuguese, Dutch; the court chronicles of Calicut and Cochin begin with this narrative. There is epigraphic evidence as well: a Chola inscription mentions that the Cheras took to the sea after they were attacked which historians interpret to mean the Cherman Perumal voyage. There is evidence even from Arabia about the tomb of a king from Malabar who converted to Islam. Thus there seems to be sufficient evidence to suggest that a king from Malabar converted to Islam. That brings us to the second question: When?
This fascinating tale of a Kerala king meeting the Prophet was first recorded in 1510 CE by the Portuguese writer Duarte Barbosa. Barbosa, who would later become Ferdinand Magellan’s brother-in-law and would join him on his trip around the world, reached Kerala in 1500 with his uncle and stayed there for five decades. Quite conversant in the local language and based on his familiarity with the traditions and customs, he wrote the story of this Cheraman Perumal based on what he had heard.
His version goes as follows: Around 600 years before Barbosa’s time, there was a mighty lord named Chirimay Perumal, whose capital was a popular port for pepper trade. The Moors who came for trade had numerous discussions with the king and they converted him to Islam. He went to Mecca in their company and died either there or on the way back; the Malabar people never saw their king again. Barbosa also wrote that the single kingdom which Cheraman Perumal ruled was partitioned into three — Cannanore, Calicut and Quilon — with Calicut having the right of coinage. But pay attention to one little detail: Barbosa mentions that this incident happened 600 years back and not 875 years.
The next version of this story was written eight decades later by Sheikh Zeinuddin, a Malayali Muslim with Arab ancestry. In his account, a set of Arab Muslims reached Cranganore on their way to Adam’s foot in Ceylon (See: How did Adam reach Sri Lanka). The king invited them to his palace and in what must be one of the easiest conversion attempts in the world, converted after listening to their conversation. He divided the kingdom and secretly went to Arabia with the pilgrims which agrees with what Barbosa wrote. Zeinuddin also mentioned that this king was ruler of the land from Kasargod to Kanya Kumari and gives an important detail regarding the date. According to him, this incident did not happen during the lifetime of the prophet, but two centuries later.
In 1610 CE, another version of this story came out from another Portuguese writer named Joas de Barros. Barros was an administrator in the House of India and Mina in Lisbon and was responsible for dispatching various fleets to India and his work was completed by Diogo de Coutos. According to his account, Cherman Peruman was a great king and his kingdom was frequented by many Moors for commerce. According to Barros, these Moors were religious fanatics and converted the king to Mohammedanism. He moved to Calicut and the Moors there made him believe that he had to go to Mecca to save his soul, which he promptly did after diving up his kingdom. This was the time when the Portuguese had to resort to sea voyages to avoid Muslim controlled land route and were in competition with the Muslim traders to gain favours with the kings of Kerala for trade rights. Some of that antagonism is visible in the language.
Coutos then adds a twist to the tale which makes this very interesting. According to him, the Perumal was close to the St. Thomas Christians based in Kodungallur and would not do anything without consulting them. Coutos drops a bombshell by adding that he was converted to their holy faith, implying that the Perumal was converted to Christianity and not Islam. Coutos also mentions that the Perumal died in the house of Apostle St. Thomas in Mylapore and thus disagreeing with the Mecca trip.
Thus within a century, you see the story being retold to based on the convenience of the Portuguese who were doing excellent trade in Malabar. But there is one data point that stands out in the narrative of Barros. He writes that the king, Sarama Perumal reigned 612 years before “we” landed in India. It is not clear if that refers to the period when Barros’ ships landed in Malabar or if it refers to Vasco da Gama’s first voyage of 1498. Even if you take 1498 CE, the king would have reigned in 886 CE which is two centuries after the date mentioned on the board at the Cheraman Perumal Juma Masjid. This also agrees with what historian A Sreedhara Menon mentioned in his Survey of Kerala History
In 1723, the Dutch chaplain Canter Visscher wrote about this story, with another twist. He agrees that Cheraman Perumal was a great king who distributed his kingdom and undertook a voyage. The journey was, “either to the Ganges in fulfillment of a vow or as the Moors say to visit Mahomet in Arabia for the purpose of embracing his religion” implying that there were multiple theories existing at that time. The Cheraman Perumal story continued in the accounts of Dutch Commander Van Adriaan Moens (1781 CE), Francis Buchanan (1801 CE), Keralolpathi (17th or 18th century) and Granthavari (19th century).
Though there are minor variations and the influence of local politics, the Portuguese and Muslim accounts agree on one thing: a king from Kerala set off to Mecca, but this Cheraman Perumal did not travel in the time period mentioned in the board outside the mosque. But, this should be a relatively simple problem to solve. If this incident did happen, then all you need is figure out who was the last Cheraman Perumal and that is where temple inscriptions are helpful.
There is a inscription of Vikrama Chola dating to 1122 CE which mentions that while the Pandyas took to the Ghats, the Cheras took to the sea. There are other statements in that inscription which have been proven historically and hence there is some truth to the Cheras taking to the sea as well. Historians read this to mean that the last Chera Perumal, who was Rama Kulasekhara, left by sea. There is a record from another temple which mentions that a garland was offered to the deity for the benefit of Cheramar Rama which meant that the Rama Kulasekhara lived till 1122 CE.
This points to a date much later than the ones mentioned by the Portuguese and Muslim sources. There is more evidence on this front. According to the tradition the Perumal who reached Arabia sent some messengers to preach Islam in Kerala who established ten mosques, of which one is at Matayi. According to an inscription found at that mosque, it was built in 1124 CE, two years after the disappearance of Cheraman Rama Kulasekhara. Since we know the name of the king, it is easy to find references to other kings who were contemporaries and that can help solve the mystery. Two kings mentioned in connection with the last Perumal are Udaya Varman of Koluttunad and Kavivamsha of the Tulu kingdom. Based on a inscription, Udaya Varman has been dated to the early 12th century and the Alupa King Kavivamsha ruled in the first half of the 12th century.
This complicates the narrative. From the story taking place in the 8th century, we have moved to the 12th century. Now comes another story which throws a spanner into the works. It turns out that this story was known in Arabia as well. In 1882, William Logan recorded an incident where 15 years back a man came from Arabia soliciting funds for the repair of a mosque and tomb. This tomb, located in Zapahar in the Arabian coast had an inscription which said that it belonged to Abdul Rahman Saimiri, a king of Malabar. The inscription mentions that this man reached in year 212 of the Hijera. The name in the tomb looks like it was a Samuthiri, but there is no such record of a Zamorin traveling abroad and getting converted.
There is one thing though: this was an important event in Kerala’s history with the disintegration of central rule and the formation of many small kingdoms. But was the disappearance of the king the reason for this change or was the change that happened tagged to the departure of the king?
The Cheras were under attack by the Chola and Pandya forces and the king would have been forced to make deals with Jews, Muslim and Christian traders for financial and military assistance displeasing the Nairs and Brahmins. The revenue would have been affected and with an ungovernable kingdom, an easy way out would have been the abdication of the throne. With the Cholas and Pandyas attacking the north and south, many areas would have become independent of the central power and the partition of the land may have been just a formal recognition of the ground reality. The Perumal’s Mecca voyage was a symbolic tale which captured all of this.
The Brahminical narrative, Keralolpathi, has another reason for this departure. First, the Perumal was upset having reigned for a long period the land which was the gift of Parasurama and wanted to make amends. The Perumals were supposed to rule for 12 years and make way for the next one; this one ruled for 36 years. Second, he had the supreme commander of the armed forces killed on the basis of a woman’s words which he regretted later and so conversion to Islam was probably a way out.
As we go through written records, temple inscriptions and legends, this story gets murky. At this point we have two possible dates for this event: the 9th century and 12th century. It is not a difference of a few decades, but a few centuries. Some people thought he took a trip to the Ganges and another thought he was converted to Christianity and not Islam. There is even a suggestion that it was not a Perumal, but a Zamorin. Sometimes, from these different versions you learn more about the writer and his politics than the truth, like a kind of Heisenberg’s uncertainty principle applied to historiography. Even though the mystery is not solved, it seems that a person some repute reached Mecca from Malabar, and it seems clear that the incident did not happen in the period mentioned in the board.
If you are interested in this topic, please read these blog posts as well.
References:
- Perumals of Kerala by Prof. M.G.S.Narayanan
- Survey of Kerala History by Prof. A Sreedhara Menon