In 2000, Razzaq became the youngest cricketer in the world to take a Test cricket hat-trick in a match against Sri Lanka. He has scored three centuries and twenty two fifties in One Day International matches. His highest score was 112 runs, against South Africa in 2002, where he shared a partnership of 257 runs with Pakistani batsman Saleem Elahi. His second century was scoring 107 runs not out in a match against Zimbabwe in 2004. During this match, he saved Pakistan from a disastrous start and eventually won them the match. His first fifty came in 90 deliveries, before accelerating in the second fifty runs, which was scored in just 21 balls. Also in 2003–2004, he scored 89 runs from 40 balls against New Zealand, whose captain Stephen Fleming called him the "best hitter" in the world. In January 2005, he was involved in the ACC Asian XI that took on the ICC World XI in the World Cricket Tsunami Appeal charity match at the Melbourne Cricket Ground in Australia.