Arabic Inscription Carved on Inside The Door of Masjid
A group of Arabs came to India for propagatory mission and build mosques all along the country. They were Sharaf Ibn Malik, his brother Malik Ibn Deenar, his nephew Malik Ibn Habeeb. They reached a place named 'Kanjarkooth' (Kasaragod) on Monday 13th Rajab from 22 Hijra. They built a Mosque there. Malik Ibn Ahmed was appointed as Qali. On 1223 Hijra, the dilapidated Mosque was reconstructed, with the financial assistance of native man.
This script is an authoritative document that points out towards great historic facts related to the Mosque. Gopalan Nair, a then Deputy collector sheds light to this script After the completion of mosque, construction in Ezhimale, Malik Ibn Habeeb and companions reached in Hijra 22 Rabeeul Avval 10 on Thursday to Barkur, located in South Canara and later they arrived at Manjaore (Mangalore) in Hijra 22 Jumadul Ula 27 on Friday. Then after they came to Kasaragod and constructed the Mosque in Hijra 22 Rajab 18th.
Historic Arabic Verses Engraved in The Centre of Wooden Roof
The Mosque is founded by pious personalities, praise be to Allah, with his grace, he built up its sides firmly. Oh Allah, accept from us, as you accepted the sacrifice of Habeel. If one wants to know the date of expansion, he can calculate it from the word Oh Allah, shed your peace and grace on him, whose Quran we followed in this matter. Spread your (grace and mercy) on the relatives and companions of Prophet and on Prophet and messengers who are his brothers. Oh Allah, reward us what belongs to you and bestow upon us its virtue to our end time.
These lines are written by Muhammed Moulvi (Appicha) who supervised all engineering works of renovated Mosque. He is the eldest son of Qazi Muhammed Haji who initiated the reconstruction of the Mosque in 1327 Hijra.
Renovation of Mosque
In Older times many former Qazis had renovated the Mosque. We have a bit information about it. Famous writer and poet wrote Qazi Ibrahim Ibn Abdul Rahman in 12th century Hijra, renovated the Mosque. Later on Qazi Ahmed Moulalvi, Qazi Abdul Rahman II, Qazi Ali Moulavi, Qazi Ibrahim Moulavi, Qazi Ahmad Moulavi, Qazi Alil Moulavi II, Qazi Sheik Abdul Qadir Moulavi, Qazi Abdullah Moulavi, renovated the Mosque respectively. Then after a rich man from Kasaragod had innovated the Mosque. In 1327 Hijra, Qazi Abdullah Haji reconstructed with many timely reforms. After his demise, with his construction Qazi Abdul Qadir (Ala) completed the renovation works of Mosque and tomb very beautifully.
The Rock That Flowed
In the west side of the Mosque, there is a square shaped black rock. This is an everlasting sign of Malik Deenars (R) spiritual power. In the older times, natives planned to make a water reservoir for ablution. They bought a big rock on a boat from a nearby village. This rock was chiseled in to square shape after many tiresome efforts. But, the boat capsized on the way and the rock submerged. They were very upset. They shared this grief to Sayyid from Hazarmouth who had settled here (His tomb in in Thalangara, Kasaragod). The Sayyid assembled the natives around the tomb of Malik Deenar (R). He explained Our long efforts are in vain, if you dislike the reservoir then we dont care but if you like it we want the rock back. After that he prayed. Amazingly, in the very next daybreak the rock that submerged deeply miles away was seen in the bank of river below the tomb.
Tomb of Malik Deenar (R), the Companion of Prophet Muahmmed (PBUH)
History tells about the mission of a Malik who constructed mosques in many parts of Kerala. Misunderstanding of him as Malik Ibn Deenar leads many historians to disprove the spreading of Islam in Prophets life period. Malik Ibn Deenar was a sufi saint, who died in 126 H.E (Vafathul A yan 4/139). He was famous disciple of Hassan of Basara (R). It is crystal clear from his biography, that he has never visited Kerala. The real head of the well-known mission was Malik Deenar. He was the companion the Prophet and the cousin of king Malik bin Habeeb, who was an eye witness of famous miracle of moon splitting. (Bahadur C Gopalan, Malayalttile Mappilamar). There is no bin between Malik and Deenar. Deenar may be the surname given by natives as a sign of honour. The word is formed by Arabic deen (religion) and Malayal suffix or (he in a sense of honour), it means one who holds religion. It is possible that people addressed this devoted missionary Deenar regarding the religious spirit in him. This argues is common in Malayalam language for example, Musliyar and Mouliar.
When we look through the pages of history, we can find three arrivals of Malik Deenar (R). Firstly, he came under the leadership of Malik bin Habeeb (R) in a mission that caused the conversion of Cheraman Permal and Makkah journey.
©  ©  Second time he arrived with the letter of perumal, who departed his life from Zafar. This mission was led by him in (21 H.E). In this period he cocstructed mosques and returned to Arabia. There he had no encounter insufferable political turmoil, unrest and instability. This period witnessed the brutality of newly emerged extremist sects and faction. This situation may have compelled him to return to Kerala. Umar bin Suhrawardi, the author of Rihlat al Mulk writes that Malik Deenar (R) has passed away when he reached Kasaragod. (K.K Kareem- Cheraman Perumal, P-97, T. Ubaid- Hazrath Malik Deenar, P 17) All mosques built my Mlaik Deenar (R) are named after him. Qazis were appointed in these mosques. Any tomb, except, the tomb in Kasaragod is not famous in the name of Malik Deenar (R). These facts strongly support the statement of Suhrawardi. For many centuries, Muslims traditionally believe that the great soul in the tomb as Malik Ibn Deenar (R), T.K.M. Bava Musliyar, and the Qazi writes thus After a long period he spent here, he left for Khurasan as it is proved by historical facts. Even there is a statement in Thuhfathul Mujahideen, telling He passed away at Khurasan and there lays his tomb, but it not more evident on the basis of other solid proofs. His majesty, cane to Kasaragod back from Khurasan and led many religious activities. This is why, the mosque was famous with the name Malik bin Deenar Masjid, and it was main reason to observe an Uroos annually courteously.
Maidani Sheik (Saint of Maidan)
In Past mariners and sea travellers had given great significance to this tomb. They were first to fix a lamb there. It is an historic fact that, in the period of Porutudgal invasion Marakkars navy had set up their camp here. This place witnessed battle between these two armies. This grave is of commander of Marakkar navy who became martyr in this combat. This great soul is widely known as Madaini Sheik.
Malik Deenar Grave Yard
Thousand souls rest in this vast cemetery. Many famous and anonymous saints are buried here. Many dead bodies from distant corners are brought here. Natives desire to be buried here expecting the spiritual blessings of Malik Deenar (R). In the Older times, three sides except west were used for burial. The parking area later office building was used as graves of Hanafis.