Najmul Hossain Shanto and Mominul Haque shared 85 runs in an unbroken third-wicket stand as Bangladesh reached 111-2 at tea on the third day of the first Test against New Zealand in Sylhet on Thursday.
Skipper Najmul was on 48 and Mominul on 38 at the break to help the hosts recover from 26-2.
New Zealand made 317 in their first innings to take a slender seven-run lead.
Ajaz Patel trapped opener Zakir Hasan leg-before for 17 and Tim Southee directed a straight drive by Najmul onto the stumps at the non-striking end to run out Mahmudul Hasan for eight.
Mominul, who joined Najmul in the rescue act, was also the hero for Bangladesh with the ball, having taken the last two New Zealand wickets in the morning.
The tourists, replying to Bangladesh's first-innings 310, resumed on 266-8, still 44 runs behind.
Southee and Kyle Jamieson frustrated Bangladesh for more than an hour to share 52 runs for the ninth wicket, until left-arm spinner Mominul removed them both in the same over.
Mominul trapped Jamieson leg-before for 23 to leave New Zealand 316-9, and then bowled Southee four balls later for 35 to finish with career-best figures of 3-4.
Southee hit three boundaries in his 62-ball stay.
The two-match series is the beginning of a new cycle in the World Test Championship for both teams.
Scoreboard
Bangladesh 1st innings 310 all out (Mahmudul Hasan 86; Glenn Phillips 4-53)
New Zealand first innings (266-8 overnight)
Tom Latham c Nayeem b Taijul 21
Devon Conway c Shahadat b Mehidy 12
Kane Williamson b Taijul 104
Henry Nicholls c Nurul b Shoriful 19
Daryl Mitchell st Nurul b Taijul 41
Tom Blundell c Nurul b Nayeem 6
Glenn Phillips c Najmul b Mominul 42
Kyle Jamieson lbw b Mominul 23
Ish Sodhi c Shahadat b Taijul 0
Tim Southee b Mominul 35
Ajaz Patel not out 1
Extras (b8, lb5) 13
Total (all out; 101.5 overs) 317
Fall of wickets: 1-36 (Latham), 2-44 (Conway), 3-98 (Nicholls), 4-164 (Mitchell), 5-175 (Blundell), 6-253 (Phillips), 7-262 (Williamson), 8-264 (Sodhi), 9-316 (Jamieson), 10-317 (Southee)
Bowling: Shoriful 13-2-54-1, Mehidy 22-3-64-1, Taijul 39-9-109-4, Nayeem 24-3-73-1, Mominul 3.5-1-4-3
Bangladesh second innings
Mahmudul Hasan run out 8
Zakir Hasan lbw b Patel 17
Najmul Hossain not out 104
Mominul Haque run out 40
Mushfiqur Rahim not out 43
Extras 0
Total (three wickets; 68 overs) 212
To bat: Shahadat Hossain, Nurul Hasan, Mehidy Hasan Miraz, Taijul Islam, Shoriful Islam, Nayeem Hasan
Fall of wickets: 1-23 (Zakir), 2-26 (Mahmudul), 3-116 (Mominul)
Bowling: Southee 12-3-22-0, Jamieson 9-3-19-0, Patel 23-1-94-1, Phillips 12-4-36-0, Sodhi 12-1-41-0
Toss: Bangladesh
Umpires: Ahsan Raza (PAK), Paul Reiffel (AUS)
TV Umpire: Rod Tucker (AUS)
Match Referee: David Boon (AUS)