Adil Rashid took a five-for as England almost pulled off a stunning victory over Pakistan in the first Test in Abu Dhabi.
Rashid, whose 0-163 in Pakistan's first knock were the worst figures by a bowler on Test debut, snared 5-64 as the tourists skittled the hosts for 173 having declared on 598-9 during the morning session with a lead of 75 runs.
England required 99 from a maximum of 19 overs to take a dramatic 1-0 lead in the three-match series but could only reach 74-4 by the time bad light curtailed their innings at the 11-over mark.
Joe Root (33no) tried his best to fire Alastair Cook's side over the line but the draw means the teams remain locked at 0-0 heading into Thursday's second Test in Dubai.
James Anderson (3no) cut a frustrated figure when Cook called time on England's first knock in a now-forgotten opening session, the No 11 batsman eager for runs after having a caught-behind decision against him overturned on review.
However, the seamer, who left the field with Stuart Broad (17no) after Rashid had been cleaned up through the gate by Imran Khan, perked up when he claimed two wickets in the third over of Pakistan's second innings.
Anderson (2-30) bowled Shan Masood (1) off the toe of his bat and then had Shoaib Malik (0) caught fending a devilish bouncer to Jonny Bairstow at short leg, Malik lasting just the four deliveries compared to the 420 he amassed first time around en route to a career-best 245.
Mohammad Hafeez (34) played fluently, though was perhaps fortunate Snicko and Hotspot were not in operation when Rashid reviewed unsuccessfully for a faint edge.
Hafeez clubbed the next ball, the last before lunch, over Rashid's head for six, but was back in the hutch early in the second session, run out by Stokes' pinpoint swivel and throw from cover after a stuttered attempt at a single.
England, who made myriad lbw appeals, thought they had a breakthrough moments before tea when Misbah was adjudged by umpire Bruce Oxenford to have edged Anderson to Stokes at gully rather than been pinned in front.
But the 41-year-old was reprieved when his review showed no bat was involved and England couldn't snare him leg before either, despite Hawk-Eye suggesting the bails may have been clipped, as that was not Oxenford's original call.
Misbah's partner, Younus Khan (45), did perish, though, scooping Rashid to Stokes to to bring a 66-run stand with his skipper to an end and hand the Yorkshire leg-spinner his first victim in the five-day arena.
Asad Shafiq (6) then nicked Rashid behind but the carnage truly began after Moeen Ali (2-28) bowled Misbah as Pakistan proceeded to lose their final five wickets for 14 runs.
Moeen had Wahab Riaz (1) caught close in by Bairstow and Rashid - the first English leg-spinner to notch a five-wicket haul in debut since Charles Marriott in 1933 - nabbed Zulfiqar Babar (1), Sarfraz Ahmed (27) and last man Imran Khan (0) as Misbah's men were dismissed in 57.5 overs.
Buttler was chosen to partner Moeen at the top of the order for England's run chase but both openers departed quickly, Malik (2-25) trapping Buttler (4) lbw before clutching Mooen (11 from 12 balls) in the deep off Zulfiqar's spin.
Stokes (2) then picked out Hafeez with a leg-side swipe off Malik and although Root looked lively and Bairstow added 15 from 10 deliveries before being stumped off Zulfiqar (2-27), the Emirati gloom denied England a staggering triumph.
Live coverage of the second Test between Pakistan and England starts at 6.30am, Thursday, Sky Sports 2. You can also watch without a contract on NOW TV.