PHILADELPHIA — The 76ers closely guarded Houston's potent 3-point threats rather than double-team James Harden, and Houston's All-Star guard made them pay with a memorable offensive performance.

Harden scored 51 points and added 13 rebounds and 13 assists to lead the Rockets to a 123-118 victory over Joel Embiid and Philadelphia on Friday night.

Harden, who had 19 of his points in the third quarter, has at least 30 points and 10 assists in 18 games this season. The NBA's third-leading scorer entering the game, Harden finished two points shy of tying his career high. He was 16 for 28 from the field, including 6 for 11 from 3-point range, while making 13 of 14 free throws.

"He played about as good as you can play," Houston coach Mike D'Antoni said. "I've been around a lot of players, but it doesn't get much better than that. I've never seen better than that."

Harden recognized Philadelphia's strategy and took advantage.

"Just tried to be aggressive (in) attack mode and make plays for my teammates," he said. "They weren't leaving our shooters, so we had to figure different ways to be aggressive and attack them. In the second half, we figured it out."

Harden had 36 points after halftime.

Nene added 21 points for the Rockets, who snapped a two-game skid while winning for just the fourth time in 10 games.

Embiid had 32 points and seven rebounds in his return to the lineup after missing the last two games with a knee contusion. Embiid, who was questionable until about 45 minutes before tipoff, showed that he was just fine with an emphatic, left-handed dunk over Nene for Philadelphia's first two points that drew loud cheers from the 76ers' large crowd.

"You're not going to see a more jaw-dropping play in the league, really," 76ers coach Brett Brown said.

It was also the 7-foot-2 centre's first game since Thursday's announcement that he was not among the reserves chosen for the All-Star Game, which some in Philadelphia considered a snub.

"He's a problem," Harden said. "Big, athletic, can shoot the 3. He has an extremely bright future as you can see."

The streaking 76ers lost for just the third time in the last 11 games.

The Rockets were without second-leading scorer Eric Gordon, who missed his second straight game with a back injury.

But the relentless Harden made up for Gordon's absence.

"You saw a legitimate candidate for MVP," Brown said.

Philadelphia's coach didn't second-guess his decision not to double-team Harden.

"You have to pick your poison," he said. "You say, what sword are we going to die on? And you saw it."

Houston snapped a 61-all halftime tie with a 12-0 run over the first 2:51 of the second half. Harden scored 10 of the points, including a dunk that made it 75-63. Houston's lead reached as high as 13 in the period, and the Rockets entered the fourth ahead 94-82 after Harden's step-back baseline jumper as time expired.

Embiid scored eight straight to open the fourth quarter, drawing roars from the capacity crowd that has become the new norm in Philadelphia these days after hitting his second straight 3-pointer to make it 94-90 with 10:47 to play. But the Rockets scored the next six points and Philadelphia never got closer than four the rest of the way.

Nik Stauskas pulled the 76ers within five at 117-112 with 52.8 seconds to play on a reverse layup. After a miss by Houston, Nene blocked Embiid's 3-point attempt with 20 seconds left to seal it.

EMBIID'S HEALTH

Embiid said afterward that his knee injury is a bone bruise and doctors said he would need 2-to-3 weeks to heal. He injured the knee Jan. 20 versus Portland.

"It's a little bit sore," Embiid said. "But I felt great. I think I could have done more to help us win, especially on the defensive end."

ELECTRIC ATMOSPHERE

Philadelphia's home fans were loud and raucous, something that had been missing during the team's rebuild over the last three seasons.

Harden took note.

"Exciting," Harden said. "Philly fans are always exciting. The atmosphere was good. It got me going it a little bit, I'm sure it got my teammates going. It's always fun to play in games like that."

TIP-INS

Rockets: D'Antoni assisted Brown for part of last season. ... Houston, which beat the 76ers 115-88 at home on Nov. 14, has won seven straight over Philadelphia. ... Harden has 14 triple-doubles this season. ... Harden set his career high of 53 points on New Year's Eve this season against the Knicks.

76ers: Philadelphia lost at home for the first time in 2017, dropping to 6-1. ... Allen Iverson rang the replica Liberty Bell in the pregame. ... Among the A-listers seated courtside were Meek Mill, Kevin Hart and Philadelphia Eagles safety Malcolm Jenkins. ... Embiid fell one point shy of matching his career high.

UP NEXT

Rockets: Conclude a five-game road trip at Pacers on Sunday night.

76ers: At Bulls on Sunday night.