Pakistan reached lunch on 67-2 Saturday after Ireland had a first ball in test cricket to remember.
Delivered by Middlesex bowler Tim Murtagh, Pakistan opener Azhar Ali took a single off it. But in the process of doing so, opening partner Iman ul-Haq was injured.
Diving to make his crease as Tyrone Kane tried to throw down the stumps, Imam — nephew of Pakistan great Inzamam — collided with the onrushing Niall O’Brien.
After a brief delay Imam was able to carry on, with no wicket lost.
Ireland gave Pakistan a scare once play got fully underway on Day 2 of the inaugural one-off test in the grounds of Malahide Castle, just north of Dublin.
Former England international Boyd Rankin (1-7 off seven overs) had the honor of taking Ireland’s first-ever test wicket with Azhar (4) edging him to second slip.
Imam (7) went the very next ball, to Murtagh, struck on the kneeroll and given out leg before wicket, leaving Pakistan at 13-2.
With Haris Sohail and Asad Shafiq at the crease, Pakistan rebuilt after being put into bat and did not lose another wicket before lunch.
The first session ended with Sohail having made 28 and Shafiq 22.
The opening day was completely wiped out by bad weather on Friday.
The Irish are the 11th nation to play the longest format of the game after the International Cricket Council awarded Ireland test status in June last year.