He studied mostly under his father, whose lectures he attended in fiqh, hadith, and tafsir, and from whom he received ijazah.[1][2][3] He also learned from Sayyid Ahmad Dahlan and Shaykh Yusuf al-Kharbuti, and he read the musalsal bi'l-awwaliyah from Shaykh Abu al-Khudayr Muhammad ibn Ibrahim al-Misri.[2][4] He received permission to teach in the Masjid al-Haram.[4]