South African skipper Quinton de Kock had a miserable 50th Test as he followed his 15 in the first innings with just two, caught off a lazy push off Yasir.
Pakistan handed Test caps to 34-year-old left-arm spinner Nauman Ali and 25-year-old opener Imran Butt in a combination of three pacers and two spinners.