Josh Bailey scored with 1:26 remaining to lift the New York Islanders over the Rangers 4-3 on Thursday night at Madison Square Garden.

Cal Clutterbuck found Bailey cutting to the back post, and he beat Henrik Lundqvist to help the Islanders improve to 13-2-0 in the last 15 meetings between the Big Apple rivals.

More Images
New York Rangers right wing Jesper Fast (not shown) scores a goal past New York Islanders goaltender Robin Lehner (40) during the third period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Josh Bailey scored with 1:26 remaining to lift the New York Islanders over the Rangers 4-3 on Thursday night at Madison Square Garden.

New York Rangers right wing Jesper Fast falls during the third period of an NHL hockey game against the New York Islanders, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Ryan Strome, Kevin Shattenkirk and Jesper Fast scored for the Rangers, who dropped their fifth straight to open 2019. Lundqvist stopped 16 shots.

New York Islanders goaltender Robin Lehner (40) guards the net against New York Rangers center Filip Chytil (72) during the second period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Eberle made it 2-1 five minutes later after mishandling a puck but recovering to snap a wrist shot by Lundqvist.

New York Islanders goaltender Robin Lehner (40) makes a save against New York Rangers right wing Jesper Fast (17) during the second period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

UP NEXT

New York Islanders right wing Jordan Eberle, center, celebrates with teammates after scoring a goal during the first period of an NHL hockey game against the New York Rangers, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders right wing Jordan Eberle, center, celebrates with teammates after scoring a goal during the first period of an NHL hockey game against the New York Rangers, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Linesman Mark Shewchyk (92) watches New York Islanders left wing Matt Martin (17) fight New York Rangers left wing Cody McLeod (8) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Linesman Mark Shewchyk (92) watches New York Islanders left wing Matt Martin (17) fight New York Rangers left wing Cody McLeod (8) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders center Mathew Barzal (13) reacts after scoring a goal past New York Rangers goaltender Henrik Lundqvist (30) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders center Mathew Barzal (13) reacts after scoring a goal past New York Rangers goaltender Henrik Lundqvist (30) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Matt Barzal had a goal and two assists, and Robin Lehner made 27 saves. Jordan Eberle and Anders Lee also scored for the Islanders, and Johnny Boychuk had two assists.

New York Rangers right wing Jesper Fast (not shown) scores a goal past New York Islanders goaltender Robin Lehner (40) during the third period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Rangers right wing Jesper Fast (not shown) scores a goal past New York Islanders goaltender Robin Lehner (40) during the third period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Ryan Strome, Kevin Shattenkirk and Jesper Fast scored for the Rangers, who dropped their fifth straight to open 2019. Lundqvist stopped 16 shots.

Fast tied it 3-3 midway through the third period by knocking the puck out of the air and past Lehner. That came after Lee put the Islanders ahead 3-2 by redirecting Nick Leddy's slap shot on the power play early in the second period.

Former Islander Strome opened the scoring 1:38 into the game with a power-play goal, but Barzal answered just 53 seconds later with a nifty deke past Lundqvist. The speedy forward has been terrific against the Rangers, recording 14 points in seven games. Barzal will represent the Islanders at All-Star weekend in San Jose.

New York Rangers right wing Jesper Fast falls during the third period of an NHL hockey game against the New York Islanders, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Rangers right wing Jesper Fast falls during the third period of an NHL hockey game against the New York Islanders, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Eberle made it 2-1 five minutes later after mishandling a puck but recovering to snap a wrist shot by Lundqvist.

Shattenkirk tied it 2-2 when he scored his second of the season at 1:11 of the middle frame.

NOTES: Lundqvist appeared in his 837th career game, tying Jacques Plante for 12th place on the NHL's career list. ... Rangers F Kevin Hayes missed his fourth straight game with an upper-body injury. .... Rangers scratched Ds Tony DeAngelo and Brendan Smith. ... Islanders scratched Fs Michael Dal Colle and Tom Kuhnhackl along with D Lucas Sbisa.

New York Islanders goaltender Robin Lehner (40) guards the net against New York Rangers center Filip Chytil (72) during the second period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders goaltender Robin Lehner (40) guards the net against New York Rangers center Filip Chytil (72) during the second period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

UP NEXT

Rangers: Visit Islanders on Saturday

Islanders: Host Rangers on Saturday.

More AP NHL: https://apnews.com/NHL and https://twitter.com/AP_Sports

New York Islanders goaltender Robin Lehner (40) makes a save against New York Rangers right wing Jesper Fast (17) during the second period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders goaltender Robin Lehner (40) makes a save against New York Rangers right wing Jesper Fast (17) during the second period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders right wing Jordan Eberle, center, celebrates with teammates after scoring a goal during the first period of an NHL hockey game against the New York Rangers, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders right wing Jordan Eberle, center, celebrates with teammates after scoring a goal during the first period of an NHL hockey game against the New York Rangers, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Linesman Mark Shewchyk (92) watches New York Islanders left wing Matt Martin (17) fight New York Rangers left wing Cody McLeod (8) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

Linesman Mark Shewchyk (92) watches New York Islanders left wing Matt Martin (17) fight New York Rangers left wing Cody McLeod (8) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders center Mathew Barzal (13) reacts after scoring a goal past New York Rangers goaltender Henrik Lundqvist (30) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)

New York Islanders center Mathew Barzal (13) reacts after scoring a goal past New York Rangers goaltender Henrik Lundqvist (30) during the first period of an NHL hockey game, Thursday, Jan. 10, 2019, at Madison Square Garden in New York. (AP PhotoMary Altaffer)