Cheraman Perumal and Kodungallur Mosque: Untangling Legend, Epigraphy, and Memory

Red signboard for the Cheraman Juma Masjid office in Kodungallur, Kerala, with English, Arabic, and Malayalam text stating “The first mosque in India, estd: 629 AD,” above green doors and pale blue walls.

Outside the Cheraman Perumal Juma Masjid near present-day Kodungallur in Kerala stands a board asserting that the mosque was founded during the lifetime of Prophet Muhammad. If accepted at face value, this would place the site among the earliest mosques outside the Arabian Peninsula and Chinaearlier than those in Iraq (639 CE), Egypt (642 CE), Tunisia (670 CE), and Syria (715 CE). Such a claim raises three intertwined questions central to Kerala history: why a mosque arose so far from the deserts where Islam first spread, who was responsible for its establishment, and whether the date asserted can withstand historical scrutiny.

A well-known Kerala legend provides a dramatic origin story. A Cheraman PerumalPerumal being a title, not a personal nameobserved the moon splitting and rejoining while standing on his palace balcony. After consultation with astrologers, visitors from Arabia informed him that the miracle was associated with Prophet Muhammad and a new faith. The king then abdicated, divided the realm, sailed to meet the Prophet in Mecca, embraced Islam, and died on the journey back. Tradition holds that his companions later reached Cranganore (Kodungallur) and established early mosques, including those at Kodungallur, Kollam (north, not Quilon), Maravi (Matayi), Fakanur, Manjarur (Mangalore), Kanjirakuttu (Kasargode), Jarfattan (Karippat), Dahfattan (Dharmatam), Fandarina (Pantalayani Kollam), and Caliyath (Chaliyam near Beypore).

The term Cheraman denoted the Chera dynasty, and Perumal meant “the great one.” According to Keralolpathi (Origins of Kerala), compiled in the 17th or 18th century, Kerala’s 64 settlements agreedfollowing 9th-century conflictsto invite Perumals from outside Kerala, each to reign for twelve years, with certain notable exceptions. One such exception anchors the chronology of this story.

The first analytical question is one of historicity. Elements of the narrative appear in Muslim accounts such as that of Sheikh Zeinuddin and in the Brahminical Keralolpathi. Portuguese and Dutch writers repeatedly retold it, and court chronicles in Calicut and Cochin begin with this theme. Epigraphic evidenceparticularly a Chola inscription noting that the Cheras “took to the sea” after attackhas been read to allude to the Perumal’s maritime departure. There are even Arabian references to a Malabar ruler who adopted Islam and was buried on the Arabian coast. A cautious synthesis suggests a Malabar notable did embrace Islam and depart by sea; the more difficult question is when.

Archival black and white photo of a Kerala style mosque with tiered tiled roofs, small arched windows, and a central gable in a worn frame, evoking the Cheraman Perumal legend and early Islam in Kerala.
A timeworn photo of a tiered, Kerala-roofed mosque sets the scene for Unraveling the Cheraman Perumal Mythwhere legend, trade, and memory converge around the Cheraman Juma Masjid and the rise of early Islam in Malabar.

The earliest European record appears in 1510 CE from Duarte Barbosa, a deeply informed observer of Kerala’s society and trade. He recounts that some 600 years before his time, a powerful lordChirimay (Cheraman) Perumalwas engaged by Muslim merchants (“Moors”), embraced Islam, and journeyed to Mecca, after which he was not seen again in Malabar. Barbosa adds that the once-unified kingdom was partitioned into Cannanore, Calicut, and Quilon, with Calicut holding coinage rights. Crucially, Barbosa places the episode roughly 600 years earlier, not 875 years, thereby locating it closer to the 9th–10th centuries rather than the Prophet’s lifetime.

Roughly eight decades later, Sheikh Zeinuddin, a Malayali Muslim with Arab ancestry, offered a convergent yet refined account. He narrates that Arab Muslims bound for Adam’s Peak in Ceylon stopped at Cranganore, held a dialogue with the Cheraman Perumal, andafter a discreet departurethe king sailed with them. Zeinuddin emphasizes that the ruler governed lands from Kasargod to Kanya Kumari and, most importantly, dates the episode two centuries after the Prophet, reinforcing a post-7th-century timeframe.

In 1610 CE, Joas de Barros (with Diogo do Couto completing the work) presented another version. Here, a great kingSarama/Sarama Perumalclosely engaged with Muslim traders, accepted Islam, divided his dominions, and proceeded to Mecca. Do Couto then introduces a striking variant: the Perumal’s close association with the St. Thomas Christians of Kodungallur and a claim that he accepted Christianity and died at the house of the Apostle St. Thomas in Mylapore, contradicting the Mecca voyage. The divergence reflects the era’s mercantile and political competition along the Malabar coast and the narrative adaptations that often accompany it.

Scale model of a traditional Kerala mosque with layered tiled roofs and wooden eaves, displayed behind glass in a museum, evoking the Cheraman Juma Masjid linked to the Cheraman Perumal myth.
A meticulous museum model captures Kerala’s sloped-tile mosque architecture. It sets the scene to unravel the Cheraman Perumal myth and revisit the legacy of the Cheraman Juma Masjid in Kodungallur.

Further retellings followed. In 1723, the Dutch chaplain Canter Visscher wrote that the king traveled either to the Ganges in fulfillment of a vow or, as the Moors maintained, to visit the Prophet in Arabia and embrace his faithindicating that multiple theories coexisted. The narrative recurs in the accounts of Dutch Commander Van Adriaan Moens (1781 CE), Francis Buchanan (1801 CE), Keralolpathi, and Granthavari, underscoring its deep embedment in Kerala’s cultural memory.

Despite political inflections and minor variations, Muslim and Portuguese strands share a core claim: a Kerala ruler undertook a voyage to Arabia. Yet they do not support the assertion that the event occurred during the Prophet’s lifetime. Epigraphy helps anchor a later date. An inscription of Vikrama Chola from 1122 CE notes that while the Pandyas “took to the Ghats,” the Cheras “took to the sea.” Historians interpret this as the last Chera PerumalRama Kulasekharadeparting by sea. A temple record from the same year mentions a garland offered for the benefit of Cheramar Rama, confirming that he was alive in 1122 CE.

Traditions further hold that the Perumal who reached Arabia sent envoys to Kerala, who founded ten mosques, including the one at Matayi. An inscription at the Matayi mosque dates it to 1124 CEtwo years after Cheraman Rama Kulasekhara’s disappearance. The names of contemporary rulers connected with the last PerumalUdaya Varman of Koluttunadu and Kavi Alupendra of the Tulu countryalso align, via inscriptions, with the early-to-mid 12th century, supporting a 12th-century horizon for these developments.

Kerala-style mosque with a red-tiled sloping roof, blue dome, and twin minarets, viewed across a quiet palm-lined courtyard in Kodungallur, a site linked to the Cheraman Perumal legend.
A serene view of a Kerala mosque associated with the Cheraman Perumal story, where trade, faith, and memory meet in Kodungallur. Join us as we unpack myth versus history and the Malabar Coast’s layered past.

Arabian evidence provides yet another layer. In 1882, William Logan recorded that, around 1867, a man arrived from Arabia seeking funds to repair a mosque and tomb at Zafar. The tomb bore an inscription naming Abdul Rahman al-Samiri, a king of Malabar, arriving in 212 AH (827–828 CE). The title al-Samiri resembles Samuthiri (Zamorin), but no record confirms a Zamorin traveling abroad and converting. This datum may represent a different Malabar dignitary or a parallel strand of memory that has interlaced with the Perumal story over time.

Placing these strands within Kerala’s political economy clarifies the pressures of the era. Under sustained Chola and Pandya attacks from north and south, the Chera regime depended on alliances with Jewish, Muslim, and Christian trading networks for revenue, security, and maritime leveragearrangements that could unsettle established elites and temple bureaucracies. As multiple regions asserted autonomy, partition likely formalized an emergent decentralization. In this light, the Perumal’s departure becomes a symbolic shorthand for the disintegration of centralized rule and the birth of successor polities along the Malabar coast.

The Brahminical narrative in Keralolpathi supplies motives in the register of moral order. It notes the Perumal’s concern at having exceeded the customary twelve-year reign (having ruled for thirty-six years) over land consecrated as a gift of Parasurama. It also records remorse over ordering the execution of a supreme commander based on a woman’s words. In such tellings, a spiritual journeyincluding conversionfunctions as expiation, reflecting the era’s belief in moral causality and the quest for dharmic balance.

Malayalam sign at a Kerala temple entrance reading 'No entry for women', beside a tiled walkway and removed shoes, setting the scene for Kerala history and the Cheraman Perumal legend.
A simple Malayalam board“No entry for women”stands by a tiled shrine walkway in Kerala. Everyday signs like this ground our look at tradition, access, and the Cheraman Perumal myth that shapes regional memory.

As historiography intersects with inscriptional anchors and layered oral traditions, two chronological windows emerge: a 9th-century horizon (echoed by Barbosa’s “600 years earlier” and the Zafar tomb date) and a 12th-century horizon (tightened by the 1122 CE Vikrama Chola inscription, the 1124 CE Matayi mosque inscription, and the reign of Rama Kulasekhara). The cumulative weight of epigraphy leans toward a 12th-century institutionalization of mosques and polity transition, while earlier memories may reflect precursor contacts or a different Malabar dignitary’s journey. Either way, the claim that the Kodungallur mosque arose during the Prophet’s lifetime finds little support in the convergent evidence.

Material culture and memory continue to shape public understanding. Models of the old mosque and the present structure present an evocative continuum, while a Malayalam notice once restricting women’s entry survives as a historical artifactreminding readers that social norms evolve and that contemporary commitments to inclusion and dignity guide present practice. The Kodungallur landscape itselflong a confluence of Hindu, Buddhist, Jain, and later Sikh-friendly communities, interacting with Jewish, Christian, and Muslim tradersinvites a nuanced reading of coexistence, exchange, and shared stewardship of sacred space.

Viewed through the lens of unity among dharmic traditions, the Cheraman Perumal narrative encourages respectful inquiry rather than rivalry. It underscores how Kerala’s maritime world knit together diverse communitiesfrom temple-centered societies to merchant diasporasthrough dialogue, trade, and ritual hospitality. By anchoring legend to epigraphy and placing conversion narratives within broader currents of polity, ethics, and economy, historical reflection can deepen interfaith respect and strengthen a culture of harmony.

References: Perumals of Kerala by Prof. M. G. S. Narayanan; Survey of Kerala History by Prof. A. Sreedhara Menon.


Inspired by this post on Varnam.


Graphic with an orange DONATE button and heart icons on a dark mandala background. Overlay text asks to support dharma-renaissance.org in reviving and sharing dharmic wisdom. Cultural Insights, Personal Reflections.

FAQs

Does the article support the claim that Cheraman Perumal Juma Masjid was founded in 629 CE?

No. The article says the public 629 CE claim finds little support in the convergent evidence, and that epigraphy points more strongly to later developments.

What chronology does the article favor for the Kodungallur mosque tradition?

The article favors a 12th-century horizon for mosque institutionalization and political transition. It points to the 1122 CE Vikrama Chola inscription and the 1124 CE Matayi mosque inscription as key anchors.

Why is a 9th-century strand still discussed?

A 9th-century horizon appears in Barbosa’s statement that the event occurred roughly 600 years before 1510 CE and in the Zafar tomb date of 212 AH, or 827–828 CE. The article treats this as possible earlier memory, precursor contact, or a different Malabar dignitary’s journey.

Which sources does the article compare in the Cheraman Perumal legend?

The article compares Muslim accounts, Keralolpathi, Portuguese and Dutch narratives, court chronicles, temple records, and inscriptions. It mentions figures and sources such as Duarte Barbosa, Sheikh Zeinuddin, Joas de Barros, Canter Visscher, William Logan, and the Vikrama Chola and Matayi records.

How does maritime trade shape the article’s interpretation of the legend?

The article places the story within Kerala’s alliances with Jewish, Muslim, and Christian trading networks during Chola and Pandya pressures. It reads the Perumal’s departure as a symbol of decentralization and successor polities along the Malabar coast.

What larger message does the article draw from the Cheraman Perumal narrative?

The article argues for respectful inquiry rather than rivalry. It presents Kerala’s layered religious and maritime history as a basis for interfaith respect, coexistence, and social harmony.