Shawn Marion had 10 points and 14 rebounds for the Suns, who have won four in a row and 12 of their past 13. Amare Stoudamire had 25 points and six rebounds, failing to record his fourth consecutive double-double.
Nash scored 10 points in his only appearance of the regular season in Canada, and received a loud ovation during the pregame introductions.
T.J. Ford, who had missed five of the past seven games because of a stinger in his left arm, scored 27 for Toronto, which had won four consecutive home games. Anthony Parker added 22, and Jose Calderon and Carlos Delfino had 14 points apiece.
Pacific Division-leading Phoenix has won seven in a row against Toronto.
The Raptors haven't beaten the Suns since Feb. 10, 2004.