He served as the president of Punjab Provincial Congress Committee, and co-founded Majlis-e Ahrar-e Islam and the Jamiat Ulema-e-Hind.
[1][2] He moved to Delhi for higher education, where he studied hadith under the tutelage of Abdullah Ghazipuri, who was one of the students of Syed Nazeer Husain.
[3][1] Ghaznavi started his political career by joining the congress party in 1942 and participated in Quit India Movement.
[10][11] Due to indifferences with Congress party, he joined the Muslim League on 2nd August 1946.
[13][14] Ghaznavi died on 16 December 1963, and was buried in the Miani Sahib Graveyard in Lahore, Pakistan.