Virat Kohli also returns to the Test team after he missed the five matches against England at home due to the birth of his second child
Riaz, bounding in from the Pavilion end with a high strong action, accounted for captain Andrew Strauss (15) and Jonathan Trott (12) in the space of 11 balls without conceding a run.
He returned for a second spell from the Vauxhall end and was immediately successful, this time accounting for an unconvincing Kevin Pietersen caught behind for six from his fifth ball.
At lunch England, who had opted to bat after winning the toss, were struggling at 70 for five. They lead 2-0 in the four-match series.
Strauss’s opening partner Alastair Cook, who had totalled only 100 runs from seven test innings this season, failed again after making little of Mohammad Asif’s late movement in the second over of the morning.
Cook got off the mark with a fortuitous boundary off the edge through third man, squirted two through the legside with an unconvincing shot and was then caught behind for six off the final delivery which held its line instead of moving into the left-hander.
Asif, the pick of the Pakistan bowlers this series, continued to exploit the conditions under heavy cloud cover and looked unlucky to have an lbw appeal rejected when Strauss had scored only two.
The England captain was hit on the pad moving across his stumps and television replays suggested the ball would have clipped the leg-stump.
After a brief consultation between the bowler and captain Salman Butt, Pakistan decided not to appeal against the decision.
They had no hesitation when Strauss edged Riaz’s ninth delivery to wicketkeeper Kamran Akmal and was given not out by umpire Tony Hill. Butt immediately asked for the review and the replay confirmed Strauss had got a thick outside edge to the ball.
Trott then edged Riaz to Yasir Hameed who took a smart catch diving to his right at second slip, a welcome break for the Pakistanis whose catching has been abysmal in this series.
Paul Collingwood drove Mohammad Amir for four but added only one further run before he dragged a delivery on to his off-stump, playing from the crease with a crooked bat.
Virat Kohli also returns to the Test team after he missed the five matches against England at home due to the birth of his second child
The first Asian-origin cricketer to captain England in T20Is, Ali has scored five centuries in tests and three in ODIs, also taking 366 wickets across all three formats
The former all-rounder has returned to cricket during the past year after a horrific car crash at the end of 2022
Three stadiums in Pakistan are undergoing renovation work for next year's Champions Trophy
The T20 series will be played between September 11-15 with the ODI series taking place from September 19-29
ICC Chief Executive Geoff Allardice along with other ECB officials was also present on the occasion
Dravid ended his tenure with Team India on a high, securing the ICC T20 World Cup trophy
The New Zealander has reinvigorated England's Test set-up alongside captain Ben Stokes since 2022