Later Sultan Jamaluddeen's friends settled in different places in Sri Lanka such as Colombo, Galle, Hambantota and Batticaloa.
Specially he studied under Palayam Habib Muhammad Alim and tayka sahib Wali[3] .
He met Sheikh Ahmed Ibn Mubarak, who was an Islamic Scholar from Hadarmout, Yemen, while he was studying in Kayalpattinam, India.
Later Shiekh Mustafa met Ahmed Ibn Mubarak Mowlana in Sri Lanka and became his spiritual follower.
Sheikh Mubarak Moulana and Sheikh Mustafa travelled around Sri Lanka to places such as Galle, Beruwala, Balapitiya, Thunduwa, Kahatowita, Malwana, Viyangalla and other places and they established a Takkiya (Sufi meditation center) in those villages.
His body is buried in Jannathul Mualla, Makkah, in the vicinity of Khadija bint Khuwaylid grave.
Sheikh Mustafa wrote many books on a variety of religious and social topics and was the first person to translate the Qur'an into Arabic Tamil under the title Fathhur-Rahma Fi Tarjimati Tafsir al-Quran.