Ahmed emerged as a prominent figure of the CPI in the
United Provinces. Unlike a number of other Muslim CPI leaders, Ahmed did not opt to migrate to Pakistan after the 1948 Second CPI Congress in
Calcutta. His close friend Sajjad Zaheer, for example, migrated to Pakistan and became the General Secretary of the
Communist Party of Pakistan. Ahmed had been asked by the CPI to migrate to Pakistan to help build the party there, but declined. However, with an arrest warrant in his name in India he left for Lahore. Moreover, he was also facing problems inside the CPI as he did not adhere to the
B. T. Ranadive line that had emerged victorious at the Second Party Congress. At Lahore he lodged with his brother
W. Z. Ahmed (a prominent filmmaker) for a few weeks. An arrest warrant was issued in Lahore as well and Ahmed shifted to Karachi where he became the guest of his brother, Zafaruddin Ahmed. Zafaruddin served as Deputy Inspector General of Police in Karachi, and came under pressure to hand over Ahmed to the authorities but refused to comply. After staying in Karachi for about a month, Ahmed returned to India. ==Parliamentarian==