Resuming at the overnight score of 261-4, the tourists revelled on the easy-paced wicket to move to 347-5 by lunch on the second day at the Galle International Stadium.
Khan, who came in to bat at 19-2 on the first morning and ended the day on 133, was untroubled by both Sri Lanka's seamers and spinners.
The 36-year-old, who is playing his 90th Test, has so far batted for eight hours, hitting 15 boundaries and a six in his 24th Test century.
The visitors added 32 runs in the first hour when left-arm spinner Rangana Herath broke through for Sri Lanka by trapping Shafiq leg-before. The batsman's appeal to the TV umpire went in vain.
Sri Lanka came close to removing Khan when he was on 156, but seamer Shaminda Eranga spilled a sharp return catch as the batsman failed to keep a drive along the ground.
Pakistan wicket-keeper Sarfraz Ahmed was unbeaten on 28 at the break, having added 54 valuable runs for the sixth wicket with Khan.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
