Houston Rockets guard Gerald Green (14) celebrates after scoring a 3-point basket during the second half of an NBA basketball game against the Orlando Magic, Wednesday, Jan. 3, 2018, in Orlando, Fla. The Rockets won 116-98. (AP Photo/Phelan M. Ebenhack)
Houston Rockets guard Gerald Green (14) celebrates after scoring a 3-point basket during the second half of an NBA basketball game against the Orlando Magic, Wednesday, Jan. 3, 2018, in Orlando, Fla. The Rockets won 116-98. (AP Photo/Phelan M. Ebenhack) Credit: Phelan M. Ebenhack

Orlando, Fla. — Gerald Green scored 27 points, Clint Capela had 21 points and eight rebounds and the Houston Rockets got by without NBA scoring leader James Harden, routing the Orlando Magic, 116-98, on Wednesday night.

Harden was sidelined by a strained left hamstring.

Green made his first five 3-point shots and finished 7 for 10 from behind the arc for the Rockets, who were never behind and led by as many as 28 late in the third quarter.

Eric Gordon added 17 points and six assists to help Houston tune up for its showdown tonight with the Golden State Warriors.

Wizards 121, Knicks 103

Washington — Bradley Beal scored 27 points, John Wall added 25 with nine assists and Washington beat New York.

Playing for the first time since he was named Eastern Conference Player of the Week, Beal followed his 39-point outburst on Sunday by hitting 11 of his 14 field goal attempts for Washington, which was won five of six.

Marcin Gortat had a season-high 21 points, making 9 of 10 from the field.

Sixers 112, Spurs 106

Philadelphia — Joel Embiid shook off a sprained right hand that nearly kept him out of the lineup to score 21 points, grab 11 rebounds and lead Philadelphia over San Antonio.

The Sixers snapped a 12-game losing streak to the Spurs. They needed all 35 minutes from Embiid to knock off short-handed San Antonio.

Embiid suffered the injury in a hard fall Saturday against the Suns. Philadelphia’s leading scorer and rebounder sat as his locker before the game and said his hand was swollen and he couldn’t shoot.

Heat 111, Pistons 104

Miami — Kelly Olynyk scored 25 points, including a big layup with 39 seconds left, and Goran Dragic added 24 as Miami held off Detroit.

Olynyk finished with 13 rebounds and Dragic had 13 assists for the Heat, who are three games over .500 for the first time since April 2016.

Raptors 124, Bulls 115

Chicago — DeMar DeRozan had 35 points, Delon Wright set career highs with 25 points and 13 rebounds, and Toronto beat Chicago.

DeRozan came up big again after scoring a franchise-record 52 points in a win over Milwaukee on New Year’s Day. Held to nine in the first half this time, he scored 18 in the third quarter.

Nets 98, Timberwolves 97

New York — Spencer Dinwiddie made the go-ahead jumper with 9.7 seconds left and tied his career high with 26 points, leading Brooklyn over Minnesota.

Jimmy Butler missed at the buzzer as the Timberwolves lost for just the second time in nine games.

Bucks 122, Pacers 101

Milwaukee — Giannis Antetokounmpo had 31 points and 10 rebounds, Khris Middleton added 27 points and Milwaukee pulled away from Indiana.

Antetokounmpo had his way around the rim with his usual array of dunks and layups, shooting 12 of 18. He secured his 18th double-double of the year with 1:01 left in the third quarter.