Oklahoma City was up by eight points with about 1 1/2 minutes left in the first half when Lin was given a technical for arguing a call. Durant made the free throw on the technical to put Oklahoma City's lead at 60-51.
Harden took over after that, scoring all of Houston's points in a 6-2 run to end the quarter and cut the lead to 62-57 at halftime.
Harden made four 3-pointers early to help Houston build a 34-22 lead in the first quarter. Oklahoma City scored seven straight points after that, before Harden added a pair of free throws to lead the Rockets up 36-29 at the end of the first quarter.
Parsons was helped off the court and into the locker room after twisting his right ankle near the end of the third quarter.
He returned with about 6 1/2 minutes left in the game.
NOTES: The Rockets reached agreements on two trades that will send Patrick Patterson, Cole Aldrich and Toney Douglas to Sacramento and Marcus Morris to Phoenix, a person familiar with the situation said Wednesday. The Rockets will receive Thomas Robinson, the No. 5 pick in last year's draft, Francisco Garcia and Tyler Honeycutt from the Kings, according to the person, who spoke on condition of anonymity because the deal had not been announced and was still pending league approval. ... Thunder center Kendrick Perkins missed Wednesday's game with a sprained right knee.
AP Sports Writer Chris Duncan contributed to this report
Percentages: FG .483, FT .889.
3-Point Goals: 11-28, .393 (Sefolosha 6-10, Westbrook 3-5, Martin 2-7, Durant 0-2, Jackson 0-4).
Team Rebounds: 8. Team Turnovers: 22 (29 PTS).
Blocked Shots: 11 (Ibaka 5, Sefolosha 2, Collison, Durant, P.Jones, Thabeet).
Turnovers: 22 (Westbrook 7, Durant 5, Collison 3, Ibaka 3, Martin 2, Jackson, Sefolosha).
Steals: 6 (Collison 2, Durant 2, Jackson, Westbrook).
Technical Fouls: None.
Percentages: FG .478, FT .826.
3-Point Goals: 15-33, .455 (Harden 7-8, Lin 3-5, Delfino 3-10, Parsons 2-7, Motiejunas 0-1, Beverley 0-2).
Team Rebounds: 2. Team Turnovers: 19 (21 PTS).
Blocked Shots: 4 (Asik, Beverley, Harden, Smith).
Turnovers: 18 (Parsons 5, Lin 3, Smith 3, Delfino 2, Harden 2, Asik, Beverley, Motiejunas).
Steals: 13 (Delfino 4, Beverley 2, Lin 2, Parsons 2, Anderson, Asik, Harden).
Technical Fouls: Lin, 1:04 second.
A_18,224 (18,023). T_2:22.
Officials_Derrick Stafford, Derrick Collins, Scott Twardoski.