DENVER -

Ray Allen had a four-point play with 6.7 seconds left that put Miami ahead for good, Chris Bosh scored 40 points and the Heat held off the Denver Nuggets 119-116 on Saturday night.

LeBron James finished with 20 points, 11 assists and nine rebounds, and Allen scored 23 for the Heat, who escaped when Danilo Gallinari's 3-point try with 2 seconds left bounced off the rim.

Dwyane Wade added 14 points for Miami (2-1).

Kenneth Faried and Andre Iguodala each scored 22 for Denver, which fell to 0-3.