Pakistan set Sri Lanka 293 to win after being sent into bat in the first one-day international in Dubai on Friday.
Babar Azam top-scored in Pakistan’s total of 292-6 with an excellent 103, while Shoaib Malik scored a rapid 61-ball 81 during their 139-run fourth-wicket stand.
Sri Lanka fast bowler Suranga Lakmal took 2-47.