Milan Michalek also scored for the Senators, who have won five in a row at Madison Square Garden and seven of eight there (7-0-1).
New York (27-10-4), which entered with the most points in the NHL, had won five in a row and 10 of 11.
It was Anderson’s first shutout since a 44-save effort against Washington on March 25, 2011.
BRUINS 2, CANADIENS 1
In Boston, Jordan Caron and Milan Lucic scored, and Tim Thomas stopped 33 shots to lead the Bruins.
Carey Price made 28 saves for Montreal, which lost to Boston for the third consecutive time.
• Montreal traded forward Michael Cammalleri to the Calgary Flames for forward Rene Bourque.
HURRICANES 5, LIGHTNING 2
In Tampa, Fla., Jiri Tlusty had two goals and an assist, Tuomo Ruutu added a goal and two assists, and Carolina beat the Lightning.
Tlusty scored twice during Carolina’s four-goal first, helping the Hurricanes take a 4-1 lead.
Jay Harrison and Tim Brent also scored for the Hurricanes.
FLYERS 3, ISLANDERS 2
In Uniondale, N.Y., Sergei Bobrovsky stopped 33 shots, and Philadelphia beat New York for the 26th time in 28 games.
Scott Hartnell, Wayne Simmonds and Sean Couturier scored for the Flyers (26-12-4), who moved within two points of the Atlantic Division-leading New York Rangers.
RED WINGS 3, COYOTES 2 (SO)
In Detroit, Pavel Datsyuk and Henrik Zetterberg scored in the shootout, and the Red Wings beat Phoenix for their 13th consecutive home win.
Valtteri Filppula, Johan Franzen scored in regulation for Detroit.