Updated

Nene scored the last four Washington points off assists from John Wall, including the go-ahead layup with 0.5 seconds left, and the Wizards snapped a six-game losing streak against the Miami Heat with an 86-84 victory Saturday night.

Wall streaked into the paint to find Nene for a dunk with 46 seconds left and later orchestrated a perfect pick and roll in the final seconds, finding his teammate once again for the winning basket.

In between, Udonis Haslem thundered into the lane for a put-back dunk off Mario Chalmers' missed layup in transition to tie the game for Miami with 4.2 seconds left.

The Heat, already playing without LeBron James and Chris Bosh, lost Dwyane Wade to a dislocated left index finger early in the first quarter. They had won 12 of the previous 13 meetings against the Wizards, the last loss coming on Nov. 27, 2009.

Cartier Martin scored 22 points to lead Washington while Wall had 13 points and 13 assists and Kevin Seraphin scored 17. The Wizards have won three in a row for the first time since April 1-5 last year.

Mike Miller had 16 points and 10 rebounds off the bench for Miami. Chalmers also scored 16 and Haslem had 15 rebounds.

Wade, who was playing his second straight game after missing the previous two, left after playing just 2:40. He got his hand caught up in another player's jersey and was clearly in pain as trainers worked on him.

James was out for "minor bumps and bruises" while Bosh rested for the third straight game with "minor ailments" according to Heat coach Erik Spoelstra, who said the team was trying to get better before the playoffs.

"We want to make sure our guys are healthy going into the second season," said Spoelstra before the game. "Nothing is set in stone."

The Heat used an extended 21-6 run spanning the third and fourth quarters to take their first lead of the game. Neither team led by more than three points in the last four minutes, setting up the exciting finish.

Wade didn't attempt a shot before leaving and Seraphin scored eight points in the first quarter for the Wizards, who shot 45 percent for a 23-15 lead.

Wall and Martin scored seven apiece in the second quarter and Washington led by as many as 11 points on Wall's dunk inside six minutes.

The Wizards carried a 45-37 lead into halftime behind Martin's 14 points while Dexter Pittman scored 10 to lead the Heat.

The Wizards pushed their advantage to 14 in the third quarter, but the Heat scored 11 straight, including the last nine on three-pointers, to pull within 57-54. Chalmers hit the first three-pointer and James Jones made two in a row.

It was part of a 19-6 run to end the quarter for Miami, trimming the deficit to 63-62 entering the fourth. The Heat grabbed their first lead of the game on Miller's layup to open the final period.

Game Notes

The Heat had a five-game winning streak snapped and are 2-1 on a four-game homestand that ends Sunday against Houston. The Southeast Division failed to make up ground on Chicago for the No. 1 seed in the Eastern Conference.