DHAKA (AFP) - Taufeeq Umar closed in on a second successive half-century to steady Pakistan on the second day of the second and final Test against Bangladesh in Dhaka on Sunday. The left-handed opener, who scored 61 in the opening Test in Chittagong, was unbeaten on 44 as Pakistan reached 87-1 in their first innings at stumps after bowling out Bangladesh for 338. Azhar Ali was 26 not out when play was called off due to bad light. Pakistan lost in-form M Hafeez before Umar and Azhar put on 64 runs for the unbroken second-wicket stand, with Umar hitting eight fours in his 79-ball knock so far. Bangladesh paceman Nazmul Hossain, returning to the Test side after seven years, struck with his first delivery when he had Hafeez caught behind for only 14, a stark contrast to the opener's 143 in the last Test. "Our target is to just go in there and carry on this partnership as long as we can. Our plan is to bat long," said Azhar. "It was difficult to play spinners because the ball was turning a bit. But tomorrow it will be a new session and I think things will be easier after we spend some time at the crease." Bangladesh, resuming at 234-5, earlier lost well-set Shakib Al Hasan (144) and skipper Mushfiqur Rahim (40) off successive balls before being bowled out in the afternoon session. The hosts were strongly placed at 305-5 before losing their last five wickets for 33, with Shakib's dismissal starting the slide. Shakib was run out following a mix-up with his skipper as Umar hit the stumps at the non-striker's end from mid-wicket, while Rahim was caught down the leg-side by wicket-keeper Adnan Akmal off paceman Umar Gul. "It was great to score runs for the team. It was sad the way I got out, but it's part of cricket and it can happen to anyone. I didn't have any specific goal to reach a double-hundred or so," said Shakib. "I just wanted to bat as long as possible. Now our target is to get them out as soon as possible and the first session tomorrow is very important." Left-handed Shakib and Rahim batted comfortably against Pakistan's pace-spin combination, adding 82 runs for the sixth wicket. Fast bowlers Gul and Aizaz Cheema each took three wickets, while off-spinner Saeed Ajmal finished with 2-64. Former captain Shakib, 108 overnight, cracked 15 fours in a superb 242-ball knock for his highest score in any form of international cricket, while Rahim hit one six and six fours in his 102-ball innings. Shahadat Hossain, dropped on five by Abdur Rehman at deep mid-wicket off Ajmal, remained unbeaten on 21 with the help of one six and two fours. Pakistan went wicketless in the morning session despite taking the second new ball immediately it was available as Shakib and Rahim helped their team add 51 runs to their overnight total after a delayed start due to fog. Rahim, five not out overnight, played some handsome shots in the morning as he slog-swept Ajmal over mid-wicket for the first six of the match and then cut left-arm spinner Rehman for a four in the next over. Pakistan lead 1-0 in the series after winning the opening Test by an innings and 184 runs. scoreboard BANGLADESH 1ST INNINGS: (OVERNIGHT: 234-5): Tamim Iqbal c Cheema b Gul 14 M Nazimuddin lbw b Cheema 0 Shahriar Nafees c Akmal b Gul 97 M Mahmudullah b Cheema 0 Nasir Hossain c Akmal b Cheema 7 Shakib Al Hasan run out 144 Mushfiqur Rahim c Akmal b Gul 40 Elias Sunny lbw b Ajmal 12 Shahadat Hossain not out 21 Nazmul Hossain run out 0 Robiul Islam lbw b Ajmal 0 EXTRAS: (LB3) 3 TOTAL: (all out; 107.2 overs) 338 FOW: 1-0, 2-16, 3-21, 4-43, 5-223, 6-305, 7-305, 8-331, 9-332, 10-338 BOWLING: Gul 28-1-102-3, Cheema 26-4-73-3, Hafeez 9-3-27-0, Ajmal 24.2-3-64-2, Rehman 19-0-66-0, Younus 1-0-3-0. PAKISTAN 1ST INNINGS: M Hafeez c Rahim b Nazmul 14 Taufeeq Umar not out 44 Azhar Ali not out 26 EXTRAS: (nb3) 3 TOTAL: (for one wicket; 27 overs) 87 FOW: 1-23 BOWLING: Shahadat 2-0-15-0, Robiul 7-1-24-0, Nazmul 8-0-28-1, Mahmudullah 6-2-14-0, Shakib 4-1-6-0 Toss: Pakistan UMPIRES: B Doctrove (WI), S Tarapore (Ind)