The Pakistani team Ends South Africa's 10-Test Victory Run.
The left-arm pacer claimed four wickets in the final innings after going wicketless in the initial innings.
First Test, Lahore (the fourth day)
The home side 378 (Imam-ul-Haq 93, Salman Agha 93; Senuran Muthusamy 6-117) & 167 (Babar Azam 42; Muthusamy 5-57)
The visitors 269 (De Zorzi 104; Noman 6-112) & 183 (Brevis 54; Shaheen Afridi 4-33, Noman 4-79)
Pakistan won by 93 runs
Pakistan brought an end to the reigning champions South Africa's unbeaten run by sealing a 93-run margin win in an entertaining and hard-fought opening Test in the city of Lahore.
South Africa, whose 10-match unbeaten run in Test cricket ended with victory over the Aussies in the WTC final in June, were dismissed for 183 in pursuit of 277.
Having resumed on 51-2, they saw the dismissal of century-maker De Zorzi lbw to pace bowler Afridi to the third ball of the day to push the tightly balanced chase in the home team's favor.
Slow left-armer Noman, who secured 10 wickets for 191 runs in the game, removed Tristan Stubbs for 2 and clean bowled Dewald Brevis, who offered some resistance with a run-a-ball 54.
Off-spinner Sajid also took advantage of significant spin to terminate opener Ryan Rickelton's stay - he faced 145 deliveries for 45 - and Afridi came back in the post-lunch session to dismiss the tail with a fine display of reverse swing.
He had Kyle Verreynne leg before for nineteen and bowled Subrayen and Kagiso Rabada to seal the win.
It was both sides' first match of the 2025-2027 World Test Championship cycle and propels the hosts directly into second place behind table-toppers the Australian team.
The win was built around contributions of 93 by opening batsman Imam and, importantly, number seven Salman Agha which lifted them to 378.
From there slow bowlers Noman Ali and Sajid Khan took advantage of helpful home pitches, as they did in their series victory over the English team last year, to sustain their advantage.
The second and last match begins on 20 October.