Chasing a target of 370 for victory, which would have been a Test record in Pakistan, South Africa were well placed at 241 for three just after lunch on the fifth day following a century from Aiden Markram (108).
SCORECARD: Pakistan vs South Africa, 2nd Test
But when the home side took the new ball, Hasan (5-60) and Shaheen Afridi (4-51) decimated the South African middle order with expert swing bowling to dismiss the visitors for 274.
Hasan took career-best figures of 10-114 in the match as South Africa lost their last seven wickets for the addition of only 33 runs on their return to Pakistan for the first time since 2007.
Pakistan take the series 2-0! Hasan Ali took a match-haul of 10 wickets to lead the side to their first Test seri… https://t.co/n58o30Q1KJ
— ICC (@ICC) 1612775897000