Dubai - South African captain Graeme Smith capped his return after suffering injury with a solid 92 to help his team reach 274-6 against Pakistan in the fourth day-night international on Friday.
Smith missed his ninth one-day century by just eight runs after winning the toss and electing to bat, lifting South African innings with a 94-run stand with AB de Villiers (49) on a flat Duba Stadium pitch.
Smith, who injured his left hand during South Africa's eight wicket win in the first one-day in Abu Dhabi last week, hit nine boundaries during his 105-ball innings, before he was trapped leg-before in the 31st over.
De Villiers then took charge alongwith Jean-Paul Duminy (36) as South African added 84 in the last ten overs to post a challenging total in their bids to wrap up the series which they lead by 2-1.
Pakistan won the second match by one wicket in Abu Dhabi, while South Africa won the third match in Dubai by two wickets.
Paceman Wahab Riaz briefly put brakes on the South African innings by dismissing Duminy and David Miller (nought) off successive delveries but Colin Ingram (27 not out) and Johan Botha (28 not out) lifted their team in the last five overs.
The two added an invaluable 54 runs in the batting power-play.
It was Smith who gave South African innings the required pace, putting 35 for the first wicket with Hashim Amla (10) before Shoaib Akhtar removed Amla in the seventh over.
Smith paced the innings with three boundaries off Riaz in the 15 over before raising his 42nd half-century off 57 balls.
Smith was one of three changes in South African team, also boosted by the return of frontline pacemen Dale Steyn and Wayne Panell.
Graeme Smith lbw b Hafeez 92
Hashim Amla c Farhat b Akhtar 10
Jacques Kallis c Shafiq b Hafeez 15
AB de Villiers c Hafeez b Akhtar 49
JP Duminy b Riaz 36
Colin Ingram not out 27
David Miller b Riaz 0
Johan Botha not out 28
Extras: (1b, 4lb, 11w, 1nb) 17
TOTAL: (for 6 wickets) 274
Did not bat: Morne Morkel, Dale Steyn, Wayne Parnell.
Fall of wickets: 1-35, 2-62, 3-156, 4-191, 5-226, 6-226
Shoaib Akhtar 9-0-51-2 (1w), Abdul Razzaq 5-0-30-0, Wahab Riaz 9-0-61-2
(1nb), Mohammad Hafeez 7-0-37-2, Shahid Afridi 10-0-51-0 (2w), Abdur
Rehman 10-0-39-0 (1w).
Pakistan: Shahid Afridi (captain), Imran
Farhat, Mohammad Hafeez, Younis Khan, Abdul Razzaq, Zulqarnain Haider,
Wahab Riaz, Abdur Rehman, Shoaib Akhtar, Fawad Alam, Asad Shafiq.
Toss: South Africa.
Umpires: Umpires DJ Harper, Australia and Zameer Haider, Pakistan.
TV umpire: Ahsan Raza, Pakistan. Match referee: AJ Pycroft, Zimbabwe.