Brilliant all-round display by Mohammad Nawaz sees hosts win by four wickets to clinch series.
Mohammad Rizwan fifty goes in vain as other batsmen let Pakistan down.
In-form wicketkeeper batsman Mohammad Rizwan stars with maiden T20I hundred in narrow Pakistan victory.
Pakistan completed a 2-0 series clean sweep over South Africa with a 95-run win in the second Test in Rawalpindi.
South Africa end Day 4 at 127 for 1, still needing 243 more to square the series.
South Africa hopes alive in second test after reduce Pakistan to 129 for 6 in second innings.
South Africa were 106 for 4 at stumps after Pakistan fold for 272.
Pakistan were 145-3 before rain washes out final session of first day in second Test in Rawalpindi on Thursday.
Pakistan drops Wahab Riaz and Fakhar Zaman while includes Hasan Ali for T20I series against South Africa.
South Africa lost their eighth successive Test in the subcontinent.