Skipper Najmul described the series win over Pakistan as momentous moment for a country recently hit by protests
Umar (65) and Azhar Ali (26) were the not-out batsmen as Pakistan reached 174 for one at tea.
Resuming overnight on 27 for nought, right-hander Hafeez (75) and left-hander Umar put on 118 for the first wicket.
Hafeez was the more aggressive and hit eight boundaries and a six before falling just after lunch, trapped leg before by left-arm spinner Rangana Herath.
Umar and Ali then put on an unbroken 56 for the second wicket as Pakistan looked like taking a substantial lead at the Sheikh Zayed Stadium.
Pakistan play ‘home’ tests in the Gulf region because of security fears in their own country.
Skipper Najmul described the series win over Pakistan as momentous moment for a country recently hit by protests
Bangladesh batters played sensibly on the final day as they achieved the target of 185
Bangladesh need another 143 runs on the final day on Tuesday to secure victory
Chasing 185 for victory, Bangladesh cruised to 42 for no loss in seven overs before bad light and subsequent rain forced early stumps on Day Four
Fast bowler Gus Atkinson, who scored his maiden first-class hundred in England's first innings, led the attack with 5-62
The 29-year-old hit 138 and brought Bangladesh back into the match with a fighting 165-run seventh-wicket stand alongside Mehidy Hasan Miraz
Alastair Cook and fellow former England skipper Michael Vaughan described Joe Root as England's 'greatest' batsman of all time
The captain for Men in Blue in the white ball format is Mohd Amaan and for the red ball format is Soham Patwardhan