Muḥammad Ali started to teach in Dulāri Masjid in Kanpur. Impressed by his teaching method, he was invited by the rector of Madrasa Faiz-e-Aam to teach there. Muḥammad Ali taught there for few months and fell ill and discontinued teaching. Earlier he had taught at this
madrasa for about two years before travelling to
Saharanpur, where he studied with Ahmad Ali Saharanpuri. In 1893, during the annual congregation of the Madrasa Faiz-e-Aam, a group of scholars unanimously decided that a permanent council of scholars be formed and its meeting be followed in the next year. They named the council as
Nadwatul Ulama and Muḥammad Ali was appointed as its first manager. According to Habībur Raḥmān Khān Sherwāni, Muḥammad Ali was the first person who thought of establishing the institution of Nadwa. In
Muharram 1313 AH, he presented his sketch of the Darul Uloom, and five months later, he presented the draft of its educational curriculum, named
Musawwada-e Nisāb-e-Arabi. His sketch of the Darul Uloom was unanimously accepted in April 1896 in the meet of the Nadwatul Ulama at
Bareily. He is thus referred as the prime founder of the Nadwatul Ulama and its
Darul Uloom Nadwatul Ulama, one of the major Islamic seminaries in India. He applied for resignation in
Rajab 1313 AH, however it was not approved, and Hakīm
Abdul Hai Hasani was appointed as his helper. His resignation was approved on 19 July 1903. He then shifted permanently to
Munger. In 1901, Muḥammad Ali established the Khanqah Rahmāniya in Munger. He gave religious and spiritual discourses there. His
murids (pupils) in
Sufism count about four
lakh. He wrote a short treatise on Sufism, entitled
Irshād-e-Raḥmāni. Muḥammad Ali started a newspaper
Manshūr-e-Muḥammadi in 1289
AH to curb the spread of
Christianity among Indian Muslims. The literature of Christian missionaries Munshi Safdar Ali and Imāduddīn was getting quite famous in that time. Through
Manshūr-e-Muḥammadi, Muḥammad Ali wrote in defense of
Islam and invited Christian missionaries to debate, who did not reply, and it helped the Muslims with weak faith, to stay upon the religion of Islam. The newspaper stopped after five years as Muḥammad Ali had gone to complete his
hadith studies with Ahmad Ali Saharanpuri. Muḥammad Ali also established the Islamic Orphanage Center in Kanpur to help poor Muslim kids so that they do not fell to Christianity. The center taught the Muslims kids, the skills of craftsmanship, besides education. ==Literary works==