Azhar Ali was unbeaten on 13 at the break and Younis Khan six.
Pakistan lead the three-Test series 1-0 after winning the first Test in Dubai by 10 wickets last week.