Ashour won his first major international title in 2004 at the age of 16, becoming the youngest player ever to win the Men's World Junior Squash Championship. The same year, he helped lead Egypt to a second-place finish in the team event, behind Pakistan. In July 2006, he became the first player in history to win the World Junior Championships for the second time, defeating fellow Egyptian Omar Mosaad. He also led Egypt to a 2–1 victory over Pakistan in the final of the team event; the Egyptian team captured the top three positions in the individual players' event as well as the team event title, a feat no other team had ever accomplished.