Stamkos had two goals and an assist, and the Lightning beat the Flyers 4-3 on Thursday night.
"I didn't think we had our best game, but we found a way to win," Stamkos said. "That's a good characteristic to have."
Vladislav Namestnikov and Jason Garrison scored the other goals for the Lightning. Tampa Bay has beaten the Flyers seven straight times at home, dating to February 2011.
Wayne Simmonds, Jakub Voracek and Michael Raffl netted goals for the Flyers, who had won three in a row.
The Lightning were 2 of 5 on the power play. Philadelphia failed to score on two chances.
"We've been a disciplined team all year," Flyers coach Craig Berube said. "All of a sudden we become an undisciplined team tonight. You take seven penalties, you're going to have a tough time."
After Stamkos gave Tampa Bay a 3-1 lead with his eighth goal this season from the left circle at 5:30 of the third, Voracek's in-close shot made it a one-goal game again 68 seconds later.
Garrison made it 4-2, snapping his 28-game goal drought, on the power play with 3:12 to play. Valtteri Filppula earned his third assist of the game on the goal.
Raffl cut the Flyers' deficit back to one in the final minute.
"We bent a little, but didn't break," Tampa Bay coach Jon Cooper said. "It was good to see."
Stamkos put the Lightning ahead 2-1 during a power play with 45.7 seconds remaining in the second period. He has 16 goals and 25 points in 21 games against Philadelphia.
"They have a good power play with Stamkos shooting everything," Voracek said. "Dangerous. I would say it was a couple of tough goals, but that's the way they saw it. We could do nothing about it, just maybe focus, try to kill it."
Namestnikov redirected Anton Stralman's blue line shot past goalie Ray Emery for a 1-0 lead 3:29 into the game. Stralman has eight assists and nine points in 11 games this season after getting 13 points over 81 games last season with the New York Rangers.
The Flyers went almost 10 minutes before Claude Giroux got their initial shot on goal. Simmonds tied it 1-1 and stopped his five-game point drought when he beat Ben Bishop on a rebound goal with 7:17 left in the first.
Tampa Bay's Tyler Johnson had his seven-game assist streak end. The center had 11 assists over the stretch.
NOTES: After the game the Flyers announced that they had signed 31-year old unrestricted free agent defenseman Carlo Colaiacovo. The team is without injured defensemen Braydon Coburn and Andrew MacDonald. ... Flyers C Vincent Lecavalier said he is close to returning from a foot injury that has sidelined him seven games. ... Tampa Bay RW Ryan Callahan, who has missed five games due to a lower body injury, could play Saturday against Washington. ... Philadelphia D Brandon Manning, recalled Wednesday from Lehigh Valley of the AHL, played in his first NHL game since the 2012-13 season and had an assist.