|Pakistan's Taufeeq Umar leads the charge past a lunging AB de Villiers [AFP]
Mohammed Hafeez's half-century guided Pakistan to 144-2 in their first innings on the second day of the first Test at the Dubai International Cricket Stadium, after Umar Gul had earlier led an impressive fightback to limit South Africa to just 380 on Saturday.
At stumps, Younis Khan (21 not out) and Azhar Ali (12 not out) were at the crease after Hafeez (60) and Taufeeq Umar (42) put on 105 runs. The latter fell in quick succession but it was a still good comeback from Pakistan after Gul and the spinners had sparked a Proteas collapse.
Earlier, South Africa's first innings ended 26 minutes after lunch when off-spinner Saeed Ajmal trapped Morkel leg before for 10.
Swing bowler Gul picked up three for 100 while left-arm spinner Abdur Rehman claimed three for 101.
The morning session belonged to Pakistan as South Africa lost six wickets for 54 runs before lunch.
S Africa first innings (overnight 311-3)
G Smith c Umar b Riaz 100
A Petersen c Younis b Rehman 67
H Amla c A Akmal b Riaz 80
J Kallis c A Akmal Saeed Ajmal 73
P Harris c Younis Khan b Gul 0
AB de Villiers b Gul 5
A Prince lbw Gul 1
M Boucher lbw Rehman 9
J Botha b Rehman 10
D Steyn not out 10
M Morkel lbw Ajmal 10
Total (all out; 123 overs) 380
Fall of wickets: 1-153 2-190 3-307 4-318 5-327 6-329 7-345 8-347 9-363 10-380
Pakistan first innings
M Hafeez c Smith b Harris 60
T Umar lbw b Morkel 42
A Ali not out 12
Younis Khan not out 21
Total (two wickets; 55 overs) 144
Fall of wickets: 1-105 2-111
Gul was at the heart of the collapse, snatching three for 19 in 8.3 overs as he kept an excellent line just outside off stump and extracted just enough seam movement to trouble the batsmen.
Pakistan's performance in the field was all the better for the fact left-arm seamer Wahab Riaz was unable to bowl after straining his side on the opening day.
The team said the injury was severe enough to rule him out of the rest of the series.
Proteas started the day strong at 311-3 but the last eight wickets fell for the addition of 73 runs.
South Africa lost nightwatchman Harris early when he was caught at second slip off Gul for a duck.
Gul then produced a superb delivery which nipped back off the seam to bowl AB de Villiers for five through the gate before the 26-year-old trapped Ashwell Prince leg before for one.
Rehman then had Mark Boucher lbw for nine before Ajmal picked up the important wicket of all-rounder Jacques Kallis.
Kallis, who had added 20 to his overnight 53, edged to keeper Adnan Akmal before Rehman bowled Johan Botha (10) with a turning delivery that clipped the top of the off stump.