Pakistan Ends the Proteas' 10-match Unbeaten Run.
The left-arm pacer took four wickets in the second innings after going wicketless in the first session.
Opening Test, Lahore (the fourth day)
The home side 378 (Imam 93, Agha 93; Muthusamy 6-117) & 167 (Babar Azam 42; Muthusamy 5-57)
The visitors 269 (De Zorzi 104; Noman Ali 6-112) & 183 (Brevis 54; Shaheen 4-33, Noman 4-79)
The hosts secured a 93-run victory
Pakistan terminated world champions the Proteas' unbeaten run by achieving a 93-run triumph in an thrilling and hard-fought opening Test in the city of Lahore.
The Proteas, whose 10-match winning streak in Test cricket ended with victory over Australia in the World Test Championship final in the month of June, were dismissed for 183 chasing 277.
Having resumed on 51-2, they lost century-maker Tony de Zorzi leg before wicket to pace bowler Shaheen Afridi to the third delivery of the day to shift the tightly balanced run chase in Pakistan's favor.
Slow left-armer Noman, who secured 10 wickets for 191 runs in the game, removed Stubbs for two and bowled Brevis, who put up a fight with a run-a-ball 54.
Right-arm spinner Sajid Khan also capitalized on sharp turn to end opener Ryan Rickelton's innings - he faced 145 balls for 45 - and Shaheen came back in the afternoon session to knock over the lower order with a impressive exhibition of reverse-swing bowling.
He had Verreynne lbw for 19 and dismissed Subrayen and Rabada to secure the victory.
It was both sides' first match of the 2025-2027 World Test Championship cycle and propels the hosts directly into the number two spot behind table-toppers Australia.
The win was founded on key performances of 93 by opening batsman Imam-ul-Haq and, importantly, all-rounder Salman Agha which lifted them to 378.
After that spinners Noman Ali and Sajid Khan utilized favourable home conditions, as they did in their Test series win over England last year, to sustain their advantage.
The next and final Test begins on October 20.