NEW YORK -- Claude Giroux scored with 1:40 left in overtime to help the Philadelphia Flyers end a three-game losing streak with a 3-2 win against the New York Islanders at Barclays Center on Sunday.
Giroux took a pass from Shayne Gostisbehere who was behind the net, after Gostisbehere got his own rebound. It was his first goal in 13 games and 11th of the season.
"I thought [Gostisbehere's shot was] in actually, and then he was able to go around the net and kind of give it to me there," Giroux said. "The last few weeks have been tough, but hopefully this will give us a little boost here."
WATCH: All Flyers vs. Islanders highlights
Steve Mason made 36 saves for the Flyers (23-19-6). He had been pulled in each of his past two starts after allowing nine goals on 41 shots. It was the fourth victory in in the past 16 games for Philadelphia since a 10-game win streak (4-9-3).
"It's been a tough stretch and this is more of the type of game that I expect of myself," Mason said. "In recent games, the team was lacking in big saves and tonight it showed what kind of difference it can make."
Video: PHI@NYI: Gostisbehere finds Giroux for OT winner
Thomas Greiss made 44 saves for New York (19-17-9), which had won three in a row. Greiss had his shutout streak end at 154:10 when he allowed a goal to Wayne Simmonds at 14:10 of the second period. He shut out the Boston Bruins on Monday and the Dallas Stars on Thursday.
New York trails Philadelphia by five points for the second wild card into the Stanley Cup Playoffs from the Eastern Conference. The Islanders have played three fewer games.
"It's always disappointing; you want that extra point and you want to win that game in regulation," Greiss said. "We have to have those points. They are right ahead of us in the [wild card standings]."
Video: PHI@NYI: Provorov finds twine off a skate in front
Simmonds had a goal and an assist and Brayden Schenn had two assists for the Flyers.
"A little bit of relief," Simmonds said. "We knew we hadn't been playing good when we were down 2-0, but as long as you stick with it, that is the name of the game at this time of year."
Philadelphia trailed 2-0 before goals from Simmonds in the second period and Ivan Provorov in the third period made it 2-2.
Provorov scored at 1:47 of the third period when he beat Greiss with a wrist shot from the left circle.
Video: PHI@NYI: Quine chips in a rebound from the doorstep
"I saw it was kind of an odd-man situation so I held on to the puck a little bit, I saw [Travis Konecny] going back door, tried to pass it to him but it went off their D's skate."
Nick Leddy gave the Islanders a 1-0 lead at 13:25 of the first period before Alan Quine made it 2-0 at 4:47 of the second period. It was his first goal in seven games.
Goal of the game
A bouncing puck went off Schenn, who shuffled it to Simmonds, who placed a perfect shot over Greiss' left shoulder for Philadelphia's first goal.
Video: PHI@NYI: Simmonds goes top shelf off fortunate bounce
Save of the game
Greiss robbed Sean Couturier, who got the puck in front after a bounce off the end boards at 9:15 of the second period, to keep the Islanders ahead 2-0.
Video: PHI@NYI: Greiss slides to rob Couturier with pad save
Unsung performance of the game
Couturier won 9 of 13 faceoffs and blocked one shot.
Highlight of the game
Mason made a save on Tavares, who was in all alone with 2:22 left in overtime. Tavares took a wrist shot that Mason kicked away with his right skate.
Video: PHI@NYI: Mason gloves aside Tavares' OT breakaway try
They said it
"I was trying to buy some time and look for an open guy, and it was my fault on the turnover. I was already out there for a little while so I was trying to hold the puck and get the change, but [I] probably should have just gotten it out." -- Islanders captain John Tavares
"I think we've been coming out with the shooting mentality, don't force plays and try to force the puck to the net and see what happens." -- Flyers defenseman Ivan Provorov
"If the battle level wasn't there in that third period, it wouldn't have went as well as it did. We had some outstanding chances. That was our best period. Give the guys credit for that. They battled." -- Islanders coach Doug Weight
Need to know
The Flyers got their first road win since Dec. 14, against the Colorado Avalanche. ... Philadelphia was 0-for-3 on the power-play and is 0-for-14 in their past three games. ... It was the first loss for Islanders coach Doug Weight, who won each of his first two games since replacing Jack Capuano on Tuesday. ... Islanders forward Andrew Ladd missed his fourth straight game because of a lower-body injury.
Flyers: At the New York Rangers on Wednesday (8 p.m. ET, NBCSN, TVA Sports, NHL.TV)
Islanders: Host the Columbus Blue Jackets on Tuesday (7 p.m. ET; MSG+, FS-O, NHL.TV)
Video: Giroux scores OT winner to rally Flyers past Isles