25 January 1897 – 6 October 1976), often referred to as Mufti Muhammad Shafi, was a Pakistani Sunni Islamic scholar of the Deobandi school of Islamic thought.
A Hanafi jurist and mufti, he was also an authority on shari'ah, hadith, tafsir (Qur'anic exegesis), and tasawwuf (Sufism).
Born in Deoband, British India, he graduated in 1917 from Darul Uloom Deoband, where he later taught hadith and held the post of Chief Mufti.
He resigned from the school in 1943 to devote his time to the Pakistan Movement.
After the independence he moved to Pakistan, where he established Darul Uloom Karachi in 1951.
Of his written works, his best-known is Ma'ariful Qur'an, a tafsir of the Qur'an.