Bryan Rust and Kevin Hayes scored in the third period and the Pittsburgh Penguins beat the Buffalo Sabres 4-2 on Wednesday night to snap a two-game losing streak.