Teaching career In July 1971, Mehdi began his teaching career at Abul Kalam Azad College, Pratapgarh, where he served until July 1973. From January 1974 to June 1978, he taught at Darul Uloom Amroha. Later, he worked as a teacher at Jamiatul Falah Arabic College,
Bilariaganj, Azamgarh, from June 1986 to April 1990. From April 2018 until his death, he taught Tajwīd and Qirā'at at the Islamic Academy, Jamaat-e-Islami Hind, Delhi.
Affiliation with academic and literary institutions From June 1991 to 3 July 2009, Mehdi worked as an editor at Markazi Maktaba Islami Publishers, New Delhi. He was a founding member of Abul Kalam Azad Inter College (Pratapgarh) and Idara Adab-e-Islami Hind. He was also a member of the Islamic Literary Society (India) and Darul Dawah Educational Foundation (Delhi). Additionally, he served as the chairman of Adabiat-e-Aaliya Academy (Lucknow), a former vice-president of Idara Adab-e-Islami Hind, and an honorary advisor and editorial board member of the quarterly Karwan-e-Adab (Lucknow). == Awards and honours ==