John E. Sokolowski-USA TODAY Sports

Anthony Beauvillier scored at 1:56 of overtime and the visiting New York Islanders defeated the Toronto Maple Leafs 3-2 on Monday night.

Josh Bailey tied the game for the Islanders late in the third period, and Beauvillier won it with a rising wrist shot on a pass from Brock Nelson.

Noah Dobson had a goal and an assist for the Islanders, who won completed their four-game road trip with two wins. Ilya Sorokin stopped 30 shots.

John Tavares and Auston Matthews scored for Toronto.

Erik Kallgren made 21 saves for the Maple Leafs, who finished a three-game homestand at 1-0-2 before going on the road for four in a row starting Wednesday.

Dobson scored his sixth goal of the season on a shot from the right point that deflected off Toronto's David Kampf at 15:21 of the first period. Sebastian Aho circled behind the net before passing to Dobson after Mathew Barzal controlled the puck against three defenders to start the scoring play.

Toronto had a 9-7 edge in shots on goal after one period.

Tavares scored his 11th goal of the season at 4:49 on a power play on a pass into the slot by William Nylander. Mitchell Marner also earned an assist to extend his points streak to 13 games, matching his career best. Alexander Romanov was off for cross-checking.

Matthews tipped in his ninth goal of the season at 14:06 of the second on Timothy Liljegren's shot. Rasmus Sandin picked up the other assist.

Oliver Wahlstrom of New York and Sandin received fighting majors at 8:52 of the third.

Toronto led 22-15 in shots on goal after two periods.

Toronto's Morgan Rielly and New York's Kyle Palmieri had an accidental collision in the Islanders zone at 1:06 of the third period. Both left the game.

Oliver Wahlstrom of New York and Sandin were given fighting majors at 8:32 of the third.

Bailey took advantage of Kallgren's errant pass to score his fourth goal of the season at 17:02 of the third.

Tavares played his 300th game with the Maple Leafs, who signed him away from the Islanders as a free agent before the 2018-19 season.

More must-reads:

TODAY'S BEST
Watch: Sun forward Alyssa Thomas ejected after hard foul on Sky's Angel Reese
Yankees ace takes big step in first rehab stint
Kirk Cousins updates Achilles rehab
Mets rapidly approaching rock bottom with another ugly loss
Rangers rule out depth forward for Game 3 against Panthers
Another heartbreak for Justin Allgaier as Chase Elliott wins Xfinity Series race
NBA Finals path clears for Celtics with devastating Pacers injury update
PGA Tour golfer Grayson Murray dies at 30
Yankees' Hal Steinbrenner under fire over Juan Soto comments
Former NFL first-round pick retires after 'terrifying' health scare
Penguins want to add legendary former player to front office
Rays place outfielder on 10-day injured list
Former NFL QB brutally rips Denver Broncos head coach Sean Payton
Mets' Kodai Senga diagnosed with triceps inflammation, shut down
Watch: Luka Doncic hits game-winning three-pointer as Mavs take 2-0 lead over Wolves
Rangers outlast Panthers in Game 2 to even series
Yankees star Juan Soto has eyebrow-raising comments on upcoming free agency
Bears defender shares advice he gave QB Caleb Williams after 'frustrating' day
NCAA settlement might make college athletics more competitive
Jets QB Aaron Rodgers insists focus has been football, not politics