PHILADELPHIA -- David Pastrnak scored a hat trick, including the tying goal with 15 seconds left in the third period, and Patrice Bergeron scored on the power play 31 seconds into overtime to help the Boston Bruins rally for a 4-3 win against the Philadelphia Flyers at Wells Fargo Center on Wednesday.
Bergeron had three assists, and Pastrnak assisted on the overtime goal. Tuukka Rask made 22 saves for the Bruins (7-1-2), who extended their point streak to seven games (6-0-1). It's their longest streak since a nine-game run from Dec. 14, 2019-Jan. 2, 2020 (4-0-5).
Pastrnak scored 12 seconds into the first period, got the Bruins within 3-2 on the man-advantage at 12:05 of the third, and then forced overtime with a power-play goal. It is the first hat trick in NHL history by a player who scored in the first 15 seconds of the first period and the last 15 seconds of the third period.
Pastrnak has scored seven points (five goals, two assists) in three games after returning from hip surgery he had Sept. 16.
"Recovery was really long, something that I haven't had in my career, so it's been a long wait and long [time] itching to get back out there," the forward said. " ... I probably didn't [have confidence], but as soon as I stepped on the ice and I felt like I did after the surgery, then I knew I can get my conditioning up and be feeling great."
Video: BOS@PHI: Bergeron scores PPG to win game in OT
Kevin Hayes, Joel Farabee and Jakub Voracek scored for the Flyers (7-2-2), who were denied a fifth straight win. Carter Hart made 31 saves.
The teams play here again Friday (7 p.m. ET; NHLN, SN, TVAS, NBCSP, NESN, NHL.TV).
"We'd like to close out that victory, but it's part of the game and we just got to adjust," Farabee said. "We play these guys again [in] two days, so we've just got to get ready for that."
Philadelphia killed one of four Boston power plays.
"[We] gave an opportunity to their top players to step on the ice," Flyers coach Alain Vigneault said. "They're elite players and they found a way to make a difference in the game."
Pastrnak gave Boston a 1-0 lead when he carried the puck on the left side of the Flyers zone, dropped it between his skates to get around Flyers defenseman Shayne Gostisbehere, shifted the puck from his backhand to his forehand and scored.
The hat trick came after Pastrnak scored two goals in a 5-3 win at the Washington Capitals on Monday; it's the fourth time he's scored multiple goals in consecutive NHL games.
"I told him in my experiences, sometimes what happens with guys when they miss that much time, or it's a whole offseason, is you lose your timing a bit, your hands and your timing are a little bit out of sync, but he showed me," Bruins coach Bruce Cassidy said. "Usually your legs are there because you've been skating lots, but that's not the issue; it's the bumping and the grinding and the timing of taking a pass, not getting hit and all that. Obviously he's on a mission. Good for him. We need it.
"He's a guy that he's here and predominately he's a scorer and you need those guys to win hockey games for you. He's done that the last few nights. Clearly looks energized, ready to play and we're thankful for it and grateful."
Video: Enterprise Hat Trick: Pastrnak nets three vs. Flyers
Hayes tied it 1-1 at 15:29 of the second period on a one-timer from the right circle, extending his goal streak to three games.
Voracek gave the Flyers a 2-1 lead at 1:03 of the third, and Farabee made it 3-1 at 8:41 when he finished a 2-on-1 with Scott Laughton.
NOTES: Pastrnak has scored in the first 15 seconds of an NHL game twice; he scored 10 seconds into a game against the New York Rangers on Oct. 26, 2016. ... It was the ninth regular-season hat trick of Pastrnak's NHL career in 393 games; only forwards Phil Esposito (26 in 625 games), Cam Neely (14 in 525 games) and Johnny Bucyk (12 in 1,436 games) have had more with the Bruins. ... Boston forward Brad Marchand had an assist and extended his point streak to seven games (five goals, six assists); Bruins defenseman Charlie McAvoy has a six-game point streak (one goal, eight assists). … Forward Claude Giroux became the third player to play 900 games for the Flyers, joining forwards Bobby Clarke (1,144) and Bill Barber (903). ... Flyers forward James van Riemsdyk had two assists to extend his point streak to five games (two goals, eight assists).
Video: Pastrnak records hat trick, Bergeron nets OT winner