Ahmed attended St. Catharines Collegiate before going on to the University of Wisconsin–Madison, from which he graduated in 2014. During his time at college he amassed eleven NCAA All-American awards in track and cross country and an Olympic berth in the 10,000 m at the 2012 Summer Olympics in London, where he finished in eighteenth place.