Boston scored twice in the final 37 seconds of the third period and won its fifth straight game. The point streak is tied for the second-longest in Bruins history.
Patrice Bergeron scored twice, including the game-winning goal with seven seconds left for Boston (41-17-9), which is 14-0-4 in its past 18 games and leads the Toronto Maple Leafs by four points for second place in the Atlantic Division.
WATCH: [All Panthers vs. Bruins highlights]
The Bruins, who haven't lost in regulation since a 3-2 loss to the New York Rangers on Jan. 19, had a 14-0-4 streak last season and a streak of 13 wins and five ties in 1968-69; Boston's longest point streak is 23 games (15 wins, eight ties in 1940-41).
The Bruins trailed 2-0 in the second period and 3-2 in the third.
"The way that we've been playing is always finding ways and it's not always going to be perfect, it's not always going to be your best game, but you're one shot from being back in the game," Bergeron said. "That's what we talked about in the third. I thought we were better, but then giving up that third goal, we could've crumbled but we stuck with it and we found a way. So we're going to definitely take it, but we also know we've got to be better."