Ahmed was a member of the National Democratic Congress (NDC).
2004 Election Ahmed was elected in the 2004 Ghanaian general elections as the member of parliament for the
Ayawaso East constituency in the fourth parliament of the fourth republic of Ghana from 7 January 2005 to 6 January 2009. Ahmed was elected on the ticket of the
National Democratic Congress. In all, the National Democratic Congress won a total 128 parliamentary seats in the fourth parliament of the fourth republic of Ghana.
2008 Elections Ahmed was re-elected in the 2008 Ghanaian general elections as the member of parliament for the Ayawaso East constituency in the 5th parliament of the 4th republic of Ghana from 7 January 2009 to 6 January 2013. He was elected with 44,655 votes out of 78,120 total valid votes cast. This was equivalent to 57.16% of the total valid votes cast. He was elected over Mohammed Salisu Baba of the New Patriotic Party, Alhaji Mohammed Muftao of the People's National Convention, Bernard Anvuur Billy of the
Democratic Freedom Party, Amin Abdul Karim Larry of the
Convention People's Party; and Ahaji Haruna Bubakari Dabre, Daniel Danquah, Mohammed Amin Lamptey and Samuel Kwesi Gyasi – all independent candidates. These obtained 33.31%, 0.98%, 0.76%, 2.25%, 0.0%, 0.4%, 4.67% and 0.49% respectively of the total valid votes cast. Ahmed was re-elected on the ticket of the National Democratic Congress. His constituency was a part of the 18 constituencies won by the National Democratic Congress in the Greater Accra region in those elections. In all, the National Democratic Congress won a total 114 parliamentary seats in the 4th parliament of the 4th republic of Ghana. == Personal life and death ==