Sri Lanka lost batsman Kaushal Silva in the final over of the day after his 81 had put them in the lead against Pakistan on day three of the first Test in Abu Dhabi.
Silva had taken Sri Lanka to a lead of just seven runs when he fell to Junaid Khan to be the fourth man out in the second innings.
Junaid's length ball outside off stump tempted Silva into a low edge which was taken down near his left foot by wicketkeeper Adnan Akmal.
That was halfway through the 62nd over when the umpires decided to call an end to the day's proceedings with Sri Lanka on 186 for four.
Sri Lanka had earlier bowled Pakistan out for 383 as the 'home' side added just 56 runs for the loss of six wickets in the morning session.
Starting the day on 327 for four, Pakistan were back in the pavilion before lunch as they failed to build on a commanding second day.
Misbah-ul-Haq top-scored in the session as he added 30 to his overnight 105, but despite the collapse Pakistan still boasted a lead of 179.
Sri Lanka take great credit for fronting up, though, with Rangana Herath taking three of the wickets to fall, including the vital one of Misbah who was clearly in the mood to tee off and add as many runs as he could.
His 135 came from a vigilant 306 balls and it was a good job he and Younis Khan (136 on Wednesday) dug in as the next highest score was Ahmed Shehzad's 38.
Sri Lanka returned to the middle for one over before lunch was called, navigating their way through that for two runs.
But when they lost Dimuth Karunaratne for 24, bowled by Junaid, the total had reached 47.
Kumar Sangakkara had scored 55 when he was caught by Younus Khan off the bowling of Bilawal Bhatti and Sri Lanka were 146 for two.
Bhatti struck another important blow shortly afterwards as he removed the dangerous Mahela Jayawardene for a duck with Asad Shafiq this time taking the catch.
Silva, his 81 including 11 fours, fell after putting on 36 for the fourth wicket with Dinesh Chandimal, the latter ending the day unbeaten on 24.
But with Sri Lanka only seven runs ahead and with six wickets remaining Pakistan were favourites to win the Test ahead of day four.