The incident happened during the final of the ongoing President's Trophy between State Bank of Pakistan and Pakistan Television (PTV) in Rawalpindi.
Title-holders and hosts Pakistan crashed out in the group phase of the Champions Trophy after losing to New Zealand and arch-rivals India.
Placed in Group A of the Champions Trophy 2025, India and Pakistan will be taking on each other in Dubai.
Several Pakistan players like Shaheen Afridi, Saud Shakeel and substitute fielder Kamran Ghulam celebrated aggressively against South African batters.
Pakistan need 178 runs on Day 3 with only six wickets in hand, on a rank-turner track.
The pair set up Pakistan's 127-run win over the West Indies, which has the hosts ahead 1-0 in the two-Test series.
Pakistan vs West Indies, 1st Test Day 2 Highlights: Spin wizards Noman Ali and Sajid Khan guided Pakistan to a strong position against the West Indies after another spin dominated second day's play.
Saud Shakeel and Mohammed Rizwan added 97 after coming together with Pakistan in real trouble at 46-4.
South Africa vs Pakistan 1st Test Day 3 Highlights: Pacers Mohammad Abbas and Khurram Shehzad raised hopes of a rare Test win for Pakistan against South Africa in the opening match at Centurion on Saturday.
Having lost the first Test, Pakistan completed an incredible series turnaorund to clinch it 2-1 vs England.