Bangladesh have made steady progress after bowling out New Zealand for 317 on day three of the first Test, reaching 19 without loss at lunch.
Resuming at 8-268 on Thursday, New Zealand captain Tim Southee and Kyle Jamieson defied Bangladesh's spinners to earn the tourists a seven-run lead in reply to the hosts' 310.
Southee played the key role, scoring 35 off 62 deliveries, while Jamieson added 23 off 70.
Occasional bowler Mominul Haque finally wrapped up the New Zealand innings, dealing a double blow as he trapped Jamieson lbw to end a 52-run ninth-wicket partnership and, four balls later, got the better of Southee.
In reply, Zakir Hasan smashed two boundaries in the first over off Jamieson to give Bangladesh a fluent start to their second innings.
Zakir (14) and Mahmudul Hasan (5) survived some tricky bowling to reach the interval unbeaten.
Left-arm spinner Taijul Islam took four wickets on Wednesday, including top scorer Kane Williamson for 104, but didn't add to his haul on day three and finished with figures of 4-109 from 39 overs.
Australian Associated Press