570–632).[136][137][138][139] According to Qissat Shakarwati Farmad, the Masjids at Kodungallur, Kollam, Madayi, Barkur, Mangalore, Kasaragod, Kannur, Dharmadam, Panthalayini, and Chaliyam, were built during the era of Malik Dinar, and they are among the oldest Masjids in Indian Subcontinent.[140] It is believed that Malik Dinar was died at Thalangara in Kasaragod town.[141] According to popular tradition, Islam was brought to Lakshadweep islands, on the western side of Kerala, by Ubaidullah in 661 CE.