Not even a fool would have dared to put their money on New Zealand when Pakistan went to lunch on Day 4 needing only 46 runs. This after taking into consideration the last-ball dismissal of Asad Shafiq before lunch. For Pakistan still had six wickets and a set Azhar Ali, who had till then negotiated everything with utmost ease, at their disposal. But if that greatest fools of them all existed in some part of the world then by now he would have turned into a millionaire (if he already wasn’t). In a collapse of epic proportions, even by Pakistan’s standards, they lost their last six wickets for 24 runs and fell short of the target by 4 runs at Abu Dhabi.
It was a pity that a DRS call robbed New Zealand a chance to leap into a never seen before the celebration on the cricket field for their outrageous win – their narrowest ever - but they certainly would not be complaining. It was that sort of a match. Azhar Ali was the last man out LBW off Ajaz Patel after his fighting innings of 65.
The Mumbai-born left-arm spinner returned with figures of 5 for 59 on his debut.
It is the fifth-smallest win in terms of runs in Test cricket's history and gives New Zealand a 1-0 lead in the three-match series.
Resuming on 37 without loss, Pakistan began the day as favourites to chase down the 176 they needed for victory although New Zealand will have taken some hope from Pakistan's failure at the same ground last year to chase 136 against Sri Lanka.
Kiwi spinners Patel and Ish Sodhi opened the bowling and immediately caused problems as Pakistan lost three wickets in the first six overs.
Imam-ul-Haq was trapped leg-before for 27 to a full-length ball by left-arm spinner Patel in the fifth over. In the sixth, Sodhi had Mohammad Hafeez caught in the covers and then three balls later held on to a return catch low to his left as Haris Sohail drove a full toss back at him.
Pakistani nerves were eased by the sight of Azhar and Asad Shafiq carefully rebuilding the innings with a fourth-wicket partnership of 82.
Shafiq made a cultured 45, becoming the 11th Pakistani to reach 4,000 runs in Test cricket, but his dismissal in the last over before lunch, edging Neil Wagner to wicketkeeper BJ Watling, changed the game as Pakistan lost their final seven wickets for just 41.
After lunch, Babar Azam ran himself out for 13, the guilty party in a mix-up with Azhar and skipper Sarfraz Ahmed fell for a second time sweeping Patel, this time gloving the ball to Watling.
Bilal Asif tried to slog a straight ball from Patel and was bowled leaving Pakistan 154 for seven, still 22 runs short of victory.
The earlier measure at the crease had been replaced by chaos. In the next over Wagner had Yasir Shah caught in the slips and then Hasan Ali attempted a slog-sweep off Patel, picking out substitute fielder Tim Southee on the midwicket boundary.
Azhar then tried to inch Pakistan across the line, farming the strike from Mohammad Abbas.
But with five runs still needed to win Patel found the delivery to win the match for New Zealand.
The second Test starts in Dubai from Saturday while the third and final, again in Abu Dhabi from December 3.