After five first-class matches in which he had bowled only 84 overs and taken seven wickets, Ahmed was selected to tour England with the Pakistan team in 1967. Owing to injuries among his teammates he played 11 of the 17 first-class matches and bowled more overs than any of the other pace bowlers, taking 25 wickets at 34.52. Reporting on the tour in Wisden, Qamaruddin Butt referred to him as "an acquisition". In his first match on tour he took 5 for 86 against Kent. In the match against Minor Counties he came to the wicket in the second innings with the score at 94 for 9 and the Pakistanis leading by only 72. Although his previous best score was only 15, he hit 69, "driving fearlessly and snicking luckily", added 124 for the last wicket with Salahuddin, and then took two early wickets to help the Pakistanis to a narrow victory. With Saleem Altaf injured and Arif Butt out of form, Ahmed was selected for the Second Test. He took 2 for 72 off 37 overs in the first innings, but Pakistan lost, and Altaf, fit again, replaced him for the Third Test. He played for a BCCP XI against the touring International XI in 1967–68, and for a strong President's XI against the touring Commonwealth XI a few weeks later, but without notable success. He played for another BCCP XI against the MCC in 1968–69, and was selected to replace Asif Masood as Pakistan's leading pace bowler for the Second Test in Dacca. His selection owed more to the BCCP's desire to include an East Pakistan player to try to appease local political protesters than to his own or Masood's form. He took one wicket off 12 overs in the drawn match and Masood returned to the side for the Third Test in Karachi. According to Shaharyar Khan, it was not the only time Ahmed was used for political purposes: "There was a club-level cricketer from Dhaka called Niaz Ahmed who was Pakistan's perennial 12th man for quite some time, the Pakistan Cricket Board attempting to give the entirely unconvincing impression that East Pakistan was on the verge of national representation. The fact was that no effort was made by the governments of Pakistan or by the cricket boards to promote cricket in East Pakistan."
Later career
After 1968–69, in 14 more first-class matches, he took only 11 more wickets. In 1969–70, batting at number eight for Public Works Department against Bahawalpur, he made his highest score, 71 not out, top-scoring for Public Works Department and taking them to a narrow first-innings lead. When Bangladesh achieved independence in 1972 he moved to Karachi. He captained Public Works Department in his last two matches in 1973–74. They won his last match but were then disqualified from the Patron's Trophy "due to the inclusion of ineligible players". Between 1996 and 2000 he served as a referee in a number of first-class and List A matches in Pakistan.