He received his primary education in Arabic and Persian from his father and elder brother, then at Madrasa Ainul Ilm in his city, where he was taught by Sheikh Abdul Haq (an authorized disciple of Rashid Ahmad Gangohi) and Kifayatullah Dehlawi.
[3] He obtained permission (Ijazah) for hadith narration from Mahmud Hasan Deobandi by reading parts of Sahih al-Bukhari and Jami' al-Tirmidhi in front of him, and he was also granted the turban of proficiency in the convocation held at Darul Uloom Deoband in 1910 AD (1328 AH).
[8] After graduating from education, Kifayatullah Dehlawi sent Shahjahanpuri to Madrasa Ashrafia in Rander, Surat, where he continued to teach Kutub al-Sittah and perform ifta services for seven years.
[15] His notable students included Mufti Abdul Razzaq, Kafilur Rahman Nishat Usmani, Saeed Ahmad Palanpuri,[15] and Arshad Madani.
Besides these, he authored and compiled about 28 books in Arabic and Urdu, including:[19][20][21][22][23][24][25] Shahjahanpuri died on April 28, 1976 (Rabi' al-Thani 28, 1396 AH) in Shahjahanpur[29][30] and was buried there.