South African openers were off to a quick start after bowling out Pakistan for 272 in the first innings of the second Test in Rawalpindi.
After going for runs in his first two overs, Hasan made a brilliant comeback to remove Dean Elgar for 15 and Rassie Van der Dussen for a duck on consecutive deliveries. Elgar was caught behind on 15, whereas Van der Dussen was clean bowled by the right-arm pacer, leaving South Africa at 26-2 at tea.
With Pakistan 229-7 at lunch, South Africa would be hoping to wrap up Pakistan lower-order for under 250. However, Faheem Ashraf had other ideas as he hit Wiaan Mulder for a boundary on the first ball of the second session.
The all-rounder kept the scoreboard ticking as he combined for a 30-run partnership with Yasir Shah. Yasir was looking good until he was caught and bowled by Mulder for 8.
Faheem was then joined by Nauman Ali, who once again showed resolute defense after his crucial 24-run knock in Karachi Test. Nortje kept bowling short balls to Nauman, who was dropped for 3 at short leg. After facing 25 balls, Nauman charged at Maharaj and hit him straight for a four. However, Nortje continued with the same line and length against Nauman and was eventually rewarded as the lower-order batsman was caught at short leg by Markram for 8.
Nortje quickly completed his five-wicket haul as he dismissed tailender Shaheen Afridi for a duck, leaving Faheem Ashraf stranded at the other end on 78 not out.