Kadal Karai Palli in Kayalpatnam
was the first mosque to be built by the Arab traders. It lies on the south side of the present Kosmarai Dargha.
Kadal Karai Palli was built in 633 during the reign of the second Caliph and the great ruler of the Arabs. Two precious inscriptions were found near the Kadal Karai mosque. One inscription explains about Kayalpatnam and the subsidies given by the Pandiya king to this mosque. Another inscription is about a tomb of Sayyid Ahamed Bin Shaheed Ibnu Muhammad Kareem Madani who was a great scholar and saint.