«Sometimes you just need to be lucky,» Heat coach Erik Spoelstra said after giving Wade a long bear-hug in a jubilant post-game locker room.
«We’ve had so many of these breaks go against us.»
Klay Thompson led Golden State with 36 points, Kevin Durant had 29, and Stephen Curry added 24.
James Harden scored 30 points as the Houston Rockets won their third straight with a 118-113 victory over the Charlotte Hornets.
Harden started a new streak after his run of 32 straight games with 30 points or more came to an end in a win over Atlanta on Monday.
Bradley Beal scored 31 points as the Washington Wizards rolled to a 125-116 victory over the Brooklyn Nets to snap a four-game losing streak and in Atlanta, rookie Trae Young matched a career high by scoring 36 points for the second straight game as the Hawks rallied to a 131-123 overtime victory over the Minnesota Timberwolves.
Karl-Anthony Towns finished with 37 points and 17 rebounds for the Timberwolves, who fell to 9-22 on the road this season.
Damian Lillard scored 33 points as the Portland Trail Blazers beat the Celtics 97-92 in Boston, the home side’s fourth consecutive defeat since the All-Star break.
LaMarcus Aldridge scored 24 points to lead six teammates in double-figure scoring — including Australia’s Patty Mills with 11 — as San Antonio defeated the Detroit Pistons 105-93.
San Antonio led by just 88-86 with less than five minutes to play but reasserted themselves with an 11-2 run that was capped by a bucket by Aldridge with 3:09 remaining.
Australia’s Joe Ingles also produced 11 points as the Utah Jazz beat the Los Angeles Clippers 111-105.
Donovan Mitchell spearheaded the win with a 32-point haul.
The Dallas Mavericks also beat the Indiana Pacers 110-101 and the Chicago Bulls shaded the Memphis Grizzlies 109-107.
In the late matches, the Los Angeles Lakers beat the New Orleans Pelicans 125-119 while the Milwaukee Bucks edged the Sacramento Kings 141-140 in overtime.