The Pakistan openers were largely untroubled, in stark contrast to the hosts who produced another tame batting display as Saeed Ajmal and Abdur Rehman each grabbed three wickets.
Pakistan reached 132 for no loss in reply with Hafeez on 74 and Umar 53 not out.
Bangladesh were shot out on the stroke of tea with Rehman claiming the final wicket of Nasir Hossain for 41.
The 20-year-old Nasir had provided brief resistance before he fell a run short of his career best in only his third test. Just two other Bangladesh batsman reached double figures, opener Nazimuddin making 31 and Mahmudullah 18.
Score board
BANGLADESH (I Innings):
Iqbal c Akmal b Cheema 9
Nazimuddin c Hafeez b Gul 31
Nafees c Younis b Cheema 0
Ashraful c Akmal b Gul 1
Rahim lbw Ajmal 4
Shakib c Hafeez b Rehman 8
Mahmudullah lbw Ajmal 18
Hossain c Azhar b Rehman 41
Sunny c Younis b Ajmal 2
Shahadat b Rehman 8
Rubel (not out) 3
Extras (LB-9, NB-1) 10
Total (all out, 51.2 overs) 135
Fall of wickets: 1-17, 2-19, 3-20, 4-28, 5-47, 6-71, 7-81, 8-97, 9-118.
Bowling: Hafeez 3-1-9-0, Gul 13-5-33-2, Cheema 11-4-35-2, Ajmal 18-5-40-3, Rehman 6.2-2-9-3.
PAKISTAN (I Innings):
Hafeez (not out) 74
Umar (not out) 53
Extras (LB-3, NB-2) 5
Total (no wicket, 38 overs)1 32
Bowling: Shahadat Hossain 4-1-21-0, Rubel Hossain 6-0-25-0, Mahmudullah 12-3-46-0, Shakib Al Hasan 6-2-19-0, Elias Sunny 9-2-17-0, Nasir Hossain 1-0-1-0.
Deccan Herald is on WhatsApp Channels| Join now for Breaking News & Editor's Picks