Opening alongside Neil Edwards who was caught behind for 33, Shafayat hit 17 fours in his 214-ball knock of 159.

Hashim Amla (86) and Samit Patel (72) also scored heavily with Ali Brown (37) and Chris Read (16) unbeaten at stumps.

Nottinghamshire’s four seam bowlers, all unused in the first innings, will be keen to demonstrate their prowess on day two.