Tall left-armer Irfan took a career-best four for 33 in seven overs as South Africa were bowled out for 191 in a match reduced to 44 overs a side.
Pakistan achieved the target with 4.4 overs to spare, captain Misbah-ul-Haq anchoring his side’s chase, remaining unbeaten on 57. The win levelled the five-match series at 1-1.
Kareena Kapoor Khan snapped with baby Taimur at mom Babita's house
Photos: Amruta Fadnavis at a fashion and lifestyle exhibition
Photos: Sushmita Sen stuns in a black dress with thigh-high slit
Photos: Bhumi Pednekar, Saiyami Kher at a film screening in Mumbai
Dreaded dons! Meet Bollywood's gangster brigade