The 31-year-old was heard on a stump microphone making a comment in Urdu about Andile Phehlukwayo during the second one-day international.
The International Cricket Council (ICC) on Sunday banned Sarfraz for four matches -- two one-day internationals and two Twenty20 internationals -- of the South African tour.
The Pakistan Cricket Board (PCB) expressed disappointment over the punishment -- saying it believed a ban was unnecessary because the matter had already been resolved between the two players -- and withdrew the Pakistan captain from the tour.
Sarfraz was greeted as he landed back at Karachi airport by some 200 fans, who held placards condemning the ICC's decision -- said the matter is behind him.
"Whatever happened has happened," Sarfraz told media at the airport after landing from Cape Town. "I accepted my mistake and ICC's decision is in front of you.
"I will improve myself and my performance in the future and I thank my supporters for their backing."
The ICC said Sarfraz will have to attend "an education programme to promote the understanding and awareness of issues directly relevant to the offence that he has committed."
In Sarfraz's absence, Shoaib Malik led the team to an eight wicket win in the fourth match in Johannesburg on Sunday.
Pakistan and South Africa meet in the final match in Cape Town on Wednesday, with the series tied at 2-2. That will be followed by a three-match Twenty20 international series.
Asked about PCB's decision to recall him, Sarfraz said: "I don't see anything in it as I was playing cricket for the last five months. I will rest and then play Pakistan Super League,", referring to the league starting in the United Arab Emirates from February 14.
But Sarfraz blasted former fast bowler Shoaib Akhtar, who condemned his action as unacceptable for someone leading Pakistan, saying Shoaib was launching "personal attacks".
First Published: January 30, 2019, 12:39 AM IST