Pakistan’s all-rounder Faheem Ashraf provided resistance to South Africa as the hosts were 229-7 at lunch on day two in Rawalpindi.
Faheem Ashraf and Yasir Shah are unbeaten on 54 and nought respectively
The hosts began second day’s play on their overnight score of 145-3 with skipper Babar Azam and Fawad Alam at the crease.
Babar failed to add anything as he was dismissed by Anrich Nortje for 77 on the second delivery of the day.
Fawad shortly headed back to the pavilion for 45 as he was run out by Temba Bavuma.
Vice-captain Mohammad Rizwan hit a couple of boundaries before he became Nortje’s fourth victim of the innings as he was caught by Kagiso Rabada for 18.
Spinner Keshav Maharaj then had Hasan Ali caught by Dean Elgar for eight.
Earlier, Pakistan won the toss and elected to bat.
The top-order slumped once again as they were reduced to 22-3 at one stage. However, the Babar-Fawad duo managed to get things going for the side with their 123-run partnership.
Follow Samaa Sports on Facebook and Twitter.