As Pakistan and South Africa played the third day of the second Test in Rawalpindi, George Linde took three wickets and Keshav Maharaj two on Saturday.
Pakistan closed the day with scoring 129 runs with having lost 6 wickets, with an overall lead of 200 and four wickets intact.
Linde (3-12) and Maharaj (2-74) rattled Pakistan’s top order before Faheem Ashraf (29) and Mohammad Rizwan (28*) saved Pakistan with their 52-run partnership.
Earlier, Hasan’s 5-54 — his second five-wicket haul in Tests — restricted South Africa’s first innings to 201, giving the home team a lead of 71. Pakistan had made 272 in their first innings, but South Africa reduced them to 42-2 by tea.
Pakistan lost newcomer Imran Butt — managing just 36 in four innings of his first series — in the fifth over, leg-before to Kagiso Rabada for a duck. Abid Ali fell caught behind off Maharaj for 13, ending up with 33 in the series.
Azhar, on 11, survived a confident leg-before appeal off Maharaj only to see the referral showed it was the umpire’s call.
It was Hasan who wrapped up South African innings after they added 95 runs in the morning.
Temba Bavuma fought a lone battle with 44 not out.
Resuming at 106-4 South Africa had hoped their skipper Quinton de Kock would build on his breezy overnight score of 24, but the left-hander played on to Shaheen in the third over of the day.
De Kock scored 29.
Bavuma and Wiaan Mulder frustrated Pakistan’s bowling offensive during a 50-run stand before returning to the pavilion. George Linde hit three boundaries and a six in his quickfire 21 but missed the line of a Hasan delivery and was bowled.
Hasan also had Maharaj (one) and Anrich Nortje (nought) to finish the innings.