Rawlins was dismissed next ball when Parkinson clung on to a sharp return catch and the leg-spinner took his third wicket when he had Wiese leg before wicket
four overs later for 77.
Aweko victims were V.Ooko who was trapped leg before wicket
Whitely, on 18 at the time, went on to 49 before an in-swinging yorker from Ben Mike both knocked the lefthander off his feet and dismissed him leg before wicket
, but Cox, in company with Ed Barnard, took full toll of a tiring Leicestershire attack.
De Kock and Du Plessis were briefly slowed when Sri Lanka's spinners came on but were soon scoring freely again in a second wicket partnership of 136 off 129 balls before De Kock was leg before wicket
to off-spinner Akila Dananjaya for 81, made off 72 balls with 11 fours.
Visiting captain Karunaratne was out soon afterwards, trapped leg before wicket
by Vernon Philander as the tourists wobbled.
Amla completed his 41st test half century before perishing to a ball that found a crack and reared up to catch him by surprise.Vernon Philander was trapped leg before wicket
by a yorker from Mohammad Amir for 14 after helping to add to a total of 97 runs in the session at a brisk run rate of just under four per over.
Imam-ul-Haq was leg before wicket
to the returning Vernon Philander for eight before Azhar Ali fell to a short ball, fending a lifting delivery from Olivier to first slip after scoring two.
Pakistan made an ideal start when Hasan Ali trapped Aiden Markram leg before wicket
before a run had been scored but Fakhar Zaman dropped an out-of-form Hashim Amla at gully, whereas Dean Elgar survived after a controversial decision where Azhar Ali caught him at the first slip off Shaheen Shah.
Rabada struck first, trapping Imam-ul-Haq leg before wicket
for nought with a full delivery in the second over.
Hasan used the reverse swing with perfection by nipping Ross Taylor (19) plumb leg before wicket
Moor-who was reprieved on nine by the TV umpire after being initially given leg before wicket
off fast bowler Abu Jayed-survived the day with 37 runs.
Robert Huxtable dislodged the dangerous left hand bat with Leg Before Wicket