Pakistan Stops South Africa's 10-Test Winning Streak.
The left-arm pacer secured four wickets in the final innings after going wicketless in the first session.
First Test, the Gaddafi Stadium (day four)
The home side 378 (Imam 93, Agha 93; Muthusamy 6-117) & 167 (Babar Azam 42; Muthusamy 5-57)
South Africa 269 (De Zorzi 104; Noman 6-112) & 183 (Dewald Brevis 54; Shaheen 4-33, Noman Ali 4-79)
Pakistan won by 93 runs
Pakistan brought an end to world champions the Proteas' unbeaten run by achieving a 93-run triumph in an entertaining and hard-fought opening Test in the city of Lahore.
South Africa, who had a 10-Test winning streak in Test cricket ended with victory over the Aussies in the WTC final in June, were dismissed for 183 chasing 277.
Starting the day on 51-2, they lost first-innings centurion Tony de Zorzi lbw to left-arm quick Shaheen Afridi to the third delivery of the day to shift the finely-poised chase in the home team's favour.
Left-arm spinner Noman Ali, who claimed 10 wickets for 191 runs in the match, removed Tristan Stubbs for two and bowled Brevis, who put up a fight with a rapid 54.
Right-arm spinner Sajid Khan also capitalized on sharp turn to end opener Ryan Rickelton's stay - he lasted 145 balls for 45 runs - and Shaheen came back in the post-lunch session to dismiss the tail with a fine display of reverse-swing bowling.
He had Kyle Verreynne lbw for 19 and dismissed Subrayen and Kagiso Rabada to secure the win.
It was each team's opening game of the 2025-27 Test championship cycle and propels the hosts directly into the number two spot after leaders Australia.
The win was built around key performances of ninety-three by opener Imam and, importantly, all-rounder Agha which boosted them to 378.
From there slow bowlers Noman Ali and Sajid took advantage of favourable home conditions, as they had in their series victory over the English team last year, to maintain their advantage.
The next and final Test begins on 20 October.