If New Zealand win 2-0, they will move to 109 points in second position and Sri Lanka will drop to seventh position on 90 points.
However, Pakistan's three dropped catches, two of them comparatively hard, would hurt them if New Zealand go on to draw the Test and walk away with a drawn three-match series.
Henry Nicholls was twice lucky to remain unbeaten on 20 off 54 deliveries at lunch on the fourth day in Abu Dhabi.
Ross Taylor's (22 off 14 balls) over aggressive approach ultimately led to his downfall when he was caught in the deep as New Zealand slumped to 4-60.
But the day started with Yasir's world record.
CNN New York Offices Evacuated For Bomb Threat
CNN anchor Don Lemon told his Twitter followers the studio had been evacuated in the middle of recording his show. Security officers evacuated the building as a precaution and called police.
ISS’ newest crewmembers arrive at the space station
After leaving Earth early yesterday morning , Canadian Astronaut David Saint-Jacques has made his first communication from space. Meanwhile, NASA astronaut Nick Hague, KG5TMV, who was on the aborted October 11 Soyuz launch, is getting ready for another try.
Wilder hoping for a rematch with Fury 'ASAP'
The two unbeaten heavyweights surprised everyone and became the water-cooler topic of Monday and beyond after fighting to a draw. This is a family. "It has really opened my eyes to a lot of things and I'm leaving as a better person.
Sarfraz Ahmed's side nevertheless regained control of the match by picking up two quick New Zealand wickets to leave them in trouble at 26-2 in 14 overs at close of play.
It was a remarkable comeback after they were bamboozled by Yasir Shah's legspin in the second test in Dubai. But BJ Watling resisted with 77 not out, delaying his record until the second innings.
Yasir took eight wickets in the opening Test against New Zealand but was unable to prevent the Kiwis from clinching a narrow victory.
That was followed by 24 wickets against Sri Lanka in 2015 and 10 in a match to beat England at Lord's a year later.
In fact, this century, the Black Caps had only claimed away test series victories over Zimbabwe, Bangladesh, and the West Indies, and considering that Pakistan had trounced Australia in their previous test series, victory should indeed be recognised as a superb accomplishment.
Shah already has 27 wickets in the series and is likely to break another record in this Test match, the most wickets in a three-Test series, a record which is now held by former Pakistan star Abdul Qadir who took 30 wickets against England in 1987-88.