Jimmy Butler had "no idea" the Miami Heat had broken the NBA record for the most free throws in a game without a miss.

The Heat edged out the Oklahoma City Thunder 112-111 on Tuesday, with Butler scoring a game-leading 35 points and going 23-of-23 from the free-throw line.

That means Butler was just one short of James Harden's league record of 24-of-24 free throws, set in December 2019, for the most in one game without a miss.

Butler was not the only Heat player on top form from the line, with the rest of the team shooting 17-of-17, breaking the team record of 39-for-39 made by the Utah Jazz against the Portland Trail Blazers in 1982.

Yet Butler had no clue the Heat were setting a record, with his sole focus on Miami's fightback - they trailed 111-106 heading into the final minute but came out on top in the closing seconds.

"I had no idea," Butler told reporters about the 40 free-throw feat. "I'm more excited that we won this game by one point."

"We won. A complete team effort. I'm proud of my guys. We always talk about finding a way to win. This is a good start to that. Whatever it takes to win."

It was a similar story for Heat head coach Erik Spoelstra, who said: "We've been a very good free-throw shooting team all year, but that's crazy.

"I didn't realise we hadn't missed a free throw.

"It's just a normal Tuesday night for the Miami Heat. I think this is when we feel most alive, when everything just happens and when all of our competitive juices get out there.

"That's the team we all can relate to. That's the team I like."

Miami are now 22-20 for the season and sit eighth in the Eastern Conference.