After the decade-long stay in Makkah, he returned to Kerala and took charge as chief Mufti in the grand Masjid of Ponnani, a position he occupied for thirty-six years. A historian recorded that his mentor Ibn Hajar Hithami had come to Ponnani and stayed there for a short period. It is said that the famous lamp made of stone, presented by Ibn Hajar Hithami, is still kept in Ponnani Dars.[6]