Farhat flicks McLaren for a couple to bring up the 100 partnership for the fourth wicket with Misbah off 127 balls in the 33rd over.
Misbah ul Haq is turning it on leading the charge in Pakistan's run chase smashing another boundary off Peterson.
Pakistan are 135-3 after 33 overs chasing a target of 235 in the fourth one-day international against South Africa at Sahara Stadium Kingsmead in Durban on Thursday.
Misbah completed his 22nd ODI fifty in style off 56 balls with four boundaries and two sixes and also brought up the 100 of the Pakistan innings in the 27th over with these blows.
Misbah ul Haq has stepped up a gear attacking Colin Ingram for three consecutive boundaries, including two hits over the ropes in the 27th over.
Farhat (26) has been dropped by AB de Villiers who fails to hold on to a faint nick off Peterson.
Farhat hits only his second boundary in almost 18 overs when he cuts McLaren past point.
Misbah ul Haq hits a boundary off Kleinveldt through the covers in the 17th over to bring up the 50 of the Pakistan innings.
Younis Khan b Kleinveldt 6
Younis Khan did not profit from the dropped catch as Kleinveldt bowled him off an inside edge for 6 after facing 17 balls.
Younis Khan (5) has been dropped by Smith at slip off Kleinveldt's second delivery in the 11th over of the innings.
David Miller takes a brilliant catch at backward point to dismiss Kamran Akmal off Tsotsobe in the sixth over.
Kamran Akmal c Miller b Tsotsobe 11
Kamran made 11 off 13 balls with two boundaries cutting it straight to Miller.
Steyn completes a wonderul over which is a maiden.
Imran Farhat survives after miscuing a bouncer from Steyn who made a valiant attempt to catch it on his follow through.
Kamran has cracked Tsotsobe over the slip cordon with a top edge for another boundary.
Kamran Akmal steers Steyn through the covers for his boundary in the third over of the innings.
Imran Farhat smashes Tsotsobe past point for the first boundary of the Pakistan innings in the second over.
Mohammad Hafeez out for obstructing field 0
Pakistan have lost Mohammad Hafeez for obstructing the throw of AB de Villiers to the non-striker's end as he raced back for a second after some hesitation.
The on field umpires consulted the TV umpire Billy Bowden and declared Hafeez out in a bizarre dismissal in the second over of the innings.
South Africa made 234-9 in 50 overs opting to bat first in the fourth one-day international against Pakistan at Sahara Stadium Kingsmead in Durban on Thursday.
Robin Peterson remained unbeaten on 25 off 35 balls with two boundaries and last man Lonwabo Tsotsobe made 5.
South Africa staged a magnificent recovery after losing two wickets in the first two balls of the match and had slumped to 38 for four after 10 overs.
AB de Villiers (67) and David Miller (67) spearheaded their fightback with a battling 115-run partnership for the fifth wicket in 23.3 overs.
Miller profited from being dropped on nine by Riaz off Hafeez with the South Africa on 56 for four.
Their dismissal in quick succession saw Pakistan take a firm grip on the game through their spinners with the batting Powerplay yielding just 17 runs for two wicket.
Pakistan got off to a sensational start when Irfan dismissed Amla and Ingram for ducks while his partner Junaid Khan struck twice in the 10th over dismissing Graeme Smith and Farhaan Behardien.
Irfan finished with three for 46 from his nine overs while Junaid Khan claimed three for 45 from nine.
Off spinner Saeed Ajmal throttled the lower order to claim three for 42 from 10 overs.
SOUTH AFRICA INNINGS
Peterson smashes a couple of boundaries off Junaid Khan executing a reverse paddle and cracking him through the covers in the final as South Africa finish with a flourish.
Lonwabao Tsotsobe smashes the first ball he faced from Junaid Khan straight down the ground for a boundary.
Dale Steyn b Junaid Khan 9
Dale Steyn is bowled by Junaid Khan in the last over after making 9 off nine balls.
Steyn opens his account with a streaky boundary to third man off the first delivery he faced from Irfan.
Rory Kleinveldt b Irfan 18
Irfan claims his third wicket bowling Kleinveldt in the 47th over.
Kleinveldt departs for 18 off 22 balls having his three boundaries.
Kleinvdelt has hit his third boundary pulling Irfan to midwicket.
Irfan is brought back into the attack as Pakistan aim to wrap up the South African innings.
Junaid Khan is back into the attack and Kleinveldt swings the fifth delivery to midwicket for a boundary to bring up the 200 of the South Africa innings in the 46th over.
The Pakistan spinners are choking South Africa who are looking to finish with a flourish to set the visitors a challenging target.
Rory Kleinveldt gets a lucky boundary off Ajmal with an edge off a doosra.
Ryan McLaren attempting to heave Ajmal out of the ground is held in the deep by Irfan who plucks it out after appearing to misjudge it.
It is a freak catch by the towering Irfan who is all smiles.
Ryan McLaren c Irfan b Ajmal 11
McLaren made 11 off 20 balls as South Africa managed just 17 runs for two wickets in Powerplay 2.
Ajmal strikes again as AB de Villiers is caught behind on the leg side by Kamran Akmal having caressed the previous delivery past cover for the first boundary in the batting Powerplay overs.
AB de Villiers c Kamran Akmal b Ajmal 78
AB de Villiers departs for 75 off 108 having hit five boundaries.
The batting Powerplay has been with South Africa 160-5 after 35 over with AB de Villiers (68) and Ryan McLaren on four.
Ajmal strikes in the first over after the second drinks break dismissing David Miller leg before as the left hander attempts a paddle sweep and misses.
South Africa are unsuccessful with the decision review with the original decision being upheld.
David Miller lbw b Ajmal 67
Miller departs for 67 off 77 balls having hit seven boundaries during his knock and adding 115 runs in 23.3 overs for the fifth wicket with AB de Villiers.
Miller brings up the 150 of the South Africa innings in the 33rd with a beautifully time cover drive to the fence.
Miller brings up the 100 partnership off 128 balls for the fifth wicket with AB de Villiers with a scorching swept boundary off Hafeez.
Miller reaches his third ODI fifty with a cracking cover drive to the boundary off Afridi after having survived a leg before appeal the previous ball.
His half century which contained five boundaries came off 63 balls.
Left hander Miller executes a deft reverse paddle sweep to the boundary off Afridi.
Miller edges Afridi's fifth delivery with a boundary to third man.
Afridi into the attack now as Pakistan look break the fifth wicket stand which has prospered to 64..
Miller brings up the 100 of the South Africa innings in the 24th over with a single.
AB de Villiers completes his 31st ODI and seventh against Pakistan off 70 balls as he leads South Africa's fightback.
It also brings up the 50 partnership in 64 balls for the fifth wicket between AB de Villiers and Miller.
AB de Villiers gets a streaky boundary off Ajmal attempting a reverse left sweep which goes off an outside to third man.
Pakistan are unsuccessful with a decision review as Miller survives a confident leg before appeal off Ajmal's second over.
Miller has swept Ajmal in his first over for a boundary to midwicket with a superbly executed shot.
Saeed Ajmal into the attack now with South Africa 77-4 after 18 overs.
David Miller hits his first boundary slashing at Riaz for a thich outside edge past the vacant slip to third man.
The partnership between AB de Villiers and David Miller is beginning to prosper as South Africa make steady progress.
Wahab Riaz into the attack now.
Irfan bowls an erratic over with a couple of wides, one of which goes away over the keeper for a boundary.
Irfan back into the attack replacing Junaid Khan who has figures of 7-2-25-2.
David Miller (9) gets a life as Farhat at short midwicket fails to hold onto a catch off Hafeez in the first over after the drinks break.
South Africa reached their 50 in 13.1 overs with AB de Villiers and David Miller in the middle.
Hafeez into the attack now replacing Irfan who has excellent figures of 5-0-21-2.
South Africa are reeling now with four down for 38 after 10 overs as Junaid Khan strikes twice in the 10th over.
Farhaan Behardien b Junaid Khan 1
Farhaan Behardien drags the ball onto his stumps after facing three balls as Junaid Khan claims his second wicket within the space of six balls.
Graeme Smith b Junaid Khan 22
Junaid Khan strikes in the 10th over rattling Graeme Smith who goes across his stumps and is bowled.
Smith lasted 22 balls for his 12 which contained one six leaving him leg stump exposed as he moved across.
Graeme Smith hits the first six of the match hooking Irfan over midwicket in the seventh over.
AB de Villiers has launched a counter attack after the twin dismissals of Amla and Ingram punching Junaid Khan through the covers followed by a straight drive to the boundary.
AB de Villiers opens South Africa's account with boundary off Irfan's last delivery of the first over cracking him through the covers.
Irfan who took four for 33 in the second match in Durban is on a hat-trick but bowls a friendly full toss to South African captain AB de Villiers.
Colin Ingram b Irfan 0
Irfan stuns South Africa by dismissing Amla and then knocking back the off stump of left-hander Colin Ingram with his second delivery.
Hashim Amla c Kamran Akmal b Irfan 0
Amla gets an outside edge to a delivery angled across to him Ingram fails to bring his bat down to a yorker.
Mohammad Irfan (below) strikes in the first ball of the match as Hashim Amla edges it for Kamran Akmal diving in front of first slip to take a superb catch.
AB de Villiers wins the oss with Misbah u Haq calling it wrong as South Africa elect to bat in the fourth one-day international in Durban on Thursday.
Both sides have made one change with David Miller replacing the injured Faf du Plessis for South Africa while Pakistan have dropped Nasir Jamshed for Imran Farhat.
3rd ODI - PAKISTAN FALL SHORT DESPITE AFRIDI'S HEROICS
It's a bright and sunny day in Durban for the fourth one-day international between South Africa and Pakistan.
The hosts lead the series 2-1 and is a must-win game for Pakistan.
South Africa won a thriller at the Wanderers by 34 runs on Friday.
Pakistan were bowled out for 309 in 48.1 overs after South Africa put into bat rattled up a mammoth 343 for five.
The pitch is devoid of grass as ever seen in Kingsmead, according to former South Africa skipper Shaun Pollock.
He predicts a run fest in the first ODI to be held in Durban since 2007.
Teams
South Africa - Graeme Smith, Hashim Amla, Colin Ingram, AB de Villiers (captain), David Miller, Farhaan Behardien, Ryan McLaren, Robin Peterson, Rory Kleinveldt, Dale Steyn, Lonwabe Tsotsobe
Pakistan - Imran Farhat, Mohammad Hafeez, Kamran Akmal, Younis Khan, Misbah-ul-Haq (captain), Shoaib Malik, Shahid Afridi, Saeed Ajmal, Junaid Khan, Wahab Riaz, Mohammad Irfan