The home team were precariously placed at 140 for four when bad light stopped play eight overs before schedule in reply to South Africa’s first innings total of 357 on a day of fluctuating fortunes at the Gaddafi Stadium.
Inzamam-ul Haq was given a guard of honour by the South Africans as he came onto the ground to bat in his final Test before retirement.
The 37-year-old former skipper was unbeaten on 10 with Misbah-ul Haq who was also on 10.
South Africa won the first Test in Karachi last week by 160 runs in the two-match series.
Salman Butt (40) and Kamran Akmal (52) gave Pakistan a confident start of 90 before the home team lost three wickets in the space of just nine runs.
Butt looked in great touch but failed to keep a sweep down and was caught by Graeme Smith off left-arm spinner Paul Harris who finished with 2-33. Butt hit seven boundaries during his 68-ball knock.
Younis Khan, who hit a fighting 126 in the first Test, did not last long. He missed an Andre Nel incoming delivery and was bowled for three.
Akmal became Harris’ second victim in the innings when he failed to keep a drive down and was caught by Smith in the covers. Akmal hit seven boundaries. It was left to senior pros Yousuf and Inzamam to steady the innings.
Yousuf shaped well for his 25 before he was trapped in front of the wicket by paceman Dale Steyn for his 50th wicket in his 13th Test. Inzamam, needing 20 to pass Pakistan’s highest Test aggregate held by Javed Miandad with 8,832 runs, looked out of sorts initially before hitting Nel for a boundary.
Earlier, Pakistan squandered the first day’s initiative when Mark Boucher scored 54 an a career-best 46 from Paul Harris took the tourists at a respectable total after they resumed at 259 for six. Pakistan had dismissed the overnight batsman Andre Nel for nought off the fifth ball of the day when paceman Umar Gul had him caught fending short delivery. Harris showed remarkable guts as the tail-ender helped SA to a challenging total.
Score board
SOUTH AFRICA (I Innings):
Gibbs c Misbah b Gul 13
Smith b Kaneria 46
Amla b Asif 10
Kallis lbw Kaneria 59
Prince b Rehman 63
AB de Villiers (run out) 45
Boucher c Rehman b Kaneria 54
Nel c Misbah b Gul 0
Harris c Malik b Gul 46
Steyn b Kaneria 0
Ntini (not out) 0
Extras (LB-2, W-7, NB-7, 5 penalty runs) 21
Total (all out, 125.1 overs) 357
Fall of wickets: 1-24, 2-47, 3-100, 4-160, 5-243, 6-259, 7-259, 8-347, 9-350.
Bowling: Asif 34-9-83-1, Gul 29-4-103-3, Kaneria 43.1-5-114-4, Rehman 14-5-30-1, Malik 5-0-20-0.
PAKISTAN (I Innings):
Butt c Smith b Harris 40
Akmal c Smith b Harris 52
Khan b Nel 3
Yousuf lbw Steyn 25
Inzamam (batting) 10
Misbah (batting) 10
Total (four wkts, 37 overs) 140
Fall of wickets: 1-90, 2-93, 3-99, 4-123.
Bowling: Makhaya Ntini 5-0-36-0, Dale Steyn 8-1-48-1, Andrew Nel 10-3-23-1, Paul Harris 14-4-33-2.