Alfredsson's shot went off Pittsburgh goaltender Marc-Andre Fleury and appeared to be knocked into the net by Penguins defenceman Rob Scuderi, who scored into his own net earlier in the game. The goal stood after video review.
Detroit was up 2-0, trailed 3-2 and led 4-3 lead with 7:43 left. Craig Adams pulled Pittsburgh back into a tie two minutes later.
Fleury made 25 saves. Detroit's Jimmy Howard stopped 39 shots.
FLYERS 4, STARS 2
PHILADELPHIA (AP) — Wayne Simmonds scored two goals and Philadelphia beat Dallas for its fourth straight win.
Jamie Benn scored twice for Dallas, which lost its fourth straight. The Stars began the day two points behind Phoenix for the final wild-card spot in the Western Conference.
Simmonds scored his second of the game with 7:39 left to put Philadelphia ahead 3-1. Just 30 seconds later, Benn scored his second of the contest.
Raffl provided some insurance for Philadelphia by beating Thomas with a backhander on a breakaway with 3:12 to play.
BLUE JACKETS 3, CANADIENS 2
MONTREAL (AP) — Ryan Johansen scored late in the third period to give Columbus a victory that snapped Montreal's three-game winning streak.
Derek MacKenzie and Brandon Dubinsky also scored for Columbus. Sergei Bobrovsky, the reigning Vezina Trophy winner, made 25 saves while starting the Blue Jackets' 16th straight game and 23rd in the last 24.
Johansen took advantage of rookie defenceman Jarred Tinordi's giveaway at the Canadiens' blue line. Johansen intercepted a weak pass and beat Price on a partial breakaway for his team-leading 27th goal of the year at 16:59 of the third period.
DEVILS 4, WILD 3, OT
NEWARK, N.J. (AP) — Andy Greene scored from in close 2 minutes into overtime and New Jersey snapped a three-game losing streak by beating Minnesota in Zach Parise's first game against his former teammates.
LIGHTNING 5, SENATORS 4