Our pictures tell the story of the match.
1. Hearts 2 Raith 3
Hearts' Jamie Walker tussles with Manny Duku. Photo: Paul Devlin - SNS Group
2. Hearts 2 Raith 3
Craig Gordon pulls off a great save to deny Regan Hendry from the penalty spot. Photo: Paul Devlin - SNS Group
3. Hearts 2 Raith 3
Gary Mackay-Steven and Regan Hendry in action. Photo: Paul Devlin - SNS Group
4. Hearts 2 Raith 3
Manny Duku makes it 2-0 from the spot at the start of the second half. Photo: Paul Devlin - SNS Group