Jimmy Hayes capped Boston's three-goal second period with his first of the season, Tuukka Rask stopped 30 shots and the Bruins snapped a three-game losing streak by beating the Tampa Bay Lightning 4-1 on Sunday.

Rask lost his bid for his fourth shutout with 2:39 to play when Jonathan Drouin scored. But he improved to 12-4.

David Pastrnak had his team-leading 13th goal, and David Backes and Dominic Moore also scored.

Ben Bishop made 26 saves for Tampa Bay, which lost its second straight.