Boban Marjanovic, Detroit's 7-foot-3 backup center, led the Pistons with a career-high 27 points with 12 rebounds off the bench and Stanley Johnson hit a tiebreaking 3-pointer with 32.4 seconds left before adding two free throws to lift the Pistons to the 114-109 victory Friday night.
"It was great and we had a bunch of guys out there that really wanted to play," coach Stan Van Gundy said. "They weren't bogged down by the way the season has gone. They had great enthusiasm to play. I don't care when it is in the year or what the situation is that's a big part of this is just having a great enthusiasm to play and those guys just did."
Harden missed another 3-point attempt, and Johnson added the free throws to make it 112-107. Harrell added a layup after that but Tobias Harris tacked on two more free throws with eight seconds left.
Harden finished one rebound shy of a triple-double with 33 points, 12 assists and nine rebounds. He said players getting rest was no excuse for what happened on Friday night.
"Whoever is in the game has to know what they're doing on both ends of the floor," he said. "And just go out there and try to execute."
The Pistons used a 12-1 spurt, capped by four points from Marjanovic, to cut the lead to 94-93 midway through the fourth quarter. Houston missed seven straight shots in span before Eric Gordon ended the drought with a 3-pointer to make it 97-93.
A 3-pointer by Johnson tied it with about three minutes left before Harden made a pair of 3-pointers sandwiched around a layup by rookie Henry Ellenson to give Houston a 105-101 lead.
Ellenson finished with 15 points and 11 rebounds in his first career start.
Coach Mike D'Antoni rested starting center Clint Capela and said he'll rest other players in the last three regular-season games after Houston clinched the third spot in the Western Conference on Wednesday.
However, Harden and Patrick Beverley won't be among those who will sit out because they refused when he asked them.
Reggie Bullock made back to back 3-pointers early in the fourth quarter to get the Pistons within 6. But Houston made the next six points to extend its lead to 93-81.
Smith got the Pistons within 1 point with a jump shot with about nine minutes left in the third quarter before Houston used a 10-3 run, with two 3-pointers from Harden, to make it 69-61 midway through the period.
The Pistons scored seven straight points, with five from Harris, to cut the lead to 76-73 with about two minutes left in the quarter.
But Houston outscored the Pistons 9-2 the rest of the quarter to lead 87-75 entering the fourth. Lou Williams scored the seven points in that span and Harden capped the run with a reverse layup.
Houston led by as many as 11 in the first half and was up 54-52 at halftime.
Rockets: Harden made seven 3-pointers for his 35th game this season with at least four 3-pointers. ... Beverley had six points and a career-high 13 rebounds.
THEY SAID IT
Marjanovic on his career-best performance: "I'm more happy because we won this against a very, very good team. We just played hard like you're supposed to do."
Ryan Anderson returned after missing the last six games with a sprained right ankle. He had nine points, three rebounds and a block. D'Antoni said before the game that he'd limit him to 20 minutes in his first game back, but played him for just 13 minutes, where were all in the first half.
Pistons: Visit Memphis on Sunday.
Rockets: Visit Sacramento on Sunday.
More AP NBA: apnews.com/tag/NBAbasketball
Dennis Smith Jr., one of several point guards the Knicks are looking at, could be available when the team selects at No. 8.
The MVP award is officially a three-man race between James Harden, Russell Westbrook and Kawhi Leonard. LeBron James, a four-time MVP, is not on the list.
LeBron James looks loose as he throws down a self-assist dunk in warm-ups, while Isaiah Thomas and the Celtics try to iron out their issues.