AUBURN HILLS, Mich. (AP) Juwan Howard's three-point play with 3.5 seconds left lifted Orlando past Detroit.

Detroit had the ball and the lead with 10 seconds left, but Tracy McGrady stole the ball from Chauncey Billups, and Howard was able to fight off Richard Hamilton to hit the tying layup. Howard then hit the free throw to put the Magic ahead.

Rasheed Wallace missed at the buzzer for the Pistons, who have lost eight of nine. Wallace had 14 points in his first full game for Detroit, two days after he was forced to miss the second half of a loss to Minnesota because paperwork from the three-team trade that sent him from Atlanta to Detroit had not been certified.

Howard led the Magic with 20 points, and McGrady added 19 on 3-of-20 shooting. Hamilton led the Pistons with 23.

MORE