After the construction of the mosque at Kodungallur, Malik bin Dinar moved towards Mangalore and died at Kasaragod, now in Kerala, where rests in peace.
Cheraman Perumal and Malik bin Dinar are buried on two sides of the Arabian Sea, one at Salala in the Sultanate of Oman and the other at Kasaragod in India.