He first studied with a missionary teacher who came to Bangkok, Shaykh Wan ‘Abd al-Latif b. Wan Mustafa al-Fatani. He was then sent by his father to study in Mecca, where he became the adopted child of Shaykh Ahmad al-Fatani, who was his main teacher, particularly of Arabic language. While still in Mecca in 1899, he became a teacher at Madrasah Saulatiyya. He went to Egypt to study falak in 1904, but returned to Mecca, where he stayed until 1923, at which time he fled due to the war between Sharif Husayn and the Wahhabis. He went to Singapore in 1924, but stayed only seven months, before settling in Jambi, Sumatra the following year, where he took up a teaching post and became friends with the mufti of Indragiri, Shaykh ‘Abd al-Rahman Sidik. In 1929, he went to Klang, Selangor, where he became shaykh al-Islam of the state. He visited England in 1935, sponsored by Sultan ‘Ala al-Din Sulayman Shah. He returned finally to Mecca in 1953, where he taught at masjid al-haram until his death.
- Shaykh Wan ‘Abd al-Latif b. Wan Mustafa al-Fatani (Bangkok)
- Shaykh Ahmad b. Muhammad Zayn al-Fatani (1856-1908), Mecca
- Junyah al-Thimarah – 1908
- Kitab Pelajaran Bersuci – c. 1933
- Sembahyang Fardu Yang Lima – c. 1933
- Sharh Matan Ajrumiah – c. 1933
- Sharh Dua‘ Hizb al-Bahr
- Tadrij al-Sibyan – 1913
- Tazkiat al-Anzar wa Tasfiah al-Afkar
- Timar al-Khitab
- Fatani, Ahmad Fathy al-. Ulama Besar dari Patani. Bangi: Penerbit Universiti Kebangsaan Malaysia, 2002: 278-80.