312-run opening stand between left-handers Tamim and Imrul Kayes, which was Bangladesh’s highest-ever partnership for any wicket.
“I am very pleased because whatever I had planned came off nicely,” said the 26-year-old Tamim. “I needed this innings as much as my team did. It was not going to be easy after we were 296 runs behind.
But we all played our role. It was a great team effort. We have done well in the one-dayers and now we are proving ourselves in the Tests also.”
Kayes was dismissed for 150 in the morning session, holing out in the deep against left-arm spinner Zulfiqar Babar after striking 16 boundaries and three sixes.
But Tamim continued unhindered as he moved into the 190s by striking leg-spinner Yasir Shah for two consecutive sixes before reaching 201 with a straight-driven six off seamer Junaid Khan.
That shot helped him surpass Rahim’s 200 against Sri Lanka in Galle in 2013, which was the previous best Test score by a Bangladeshi batsman.
Tamim hit 17 boundaries and seven sixes before he was stumped off Hafeez just before tea attempting another big hit.
But Pakistan’s misery in the field continued after Tamim’s departure as star all-rounder Shakib Al Hasan stepped in to hit an unbeaten 76.
Spinners Shah (0-123) and Babar (1-125) were the most expensive of the seven bowlers used by Pakistan to contain the flow of runs.
Score Board
Bangladesh won toss
Bangladesh 1st innings 332 all-out (Mominul 80; Riaz 3-55)
Pakistan 1st innings 628 all-out (Hafeez 224; Taijul 6-163)
Bangladesh 2nd innings
Tamim Iqbal st Sarfraz b Hafeez 206
Imrul Kayes c sub (Babar Azam) b Babar 150
Mominul Haque b Junaid 21
Mahmudullah lbw b Junaid 40
Shakib Al Hasan not out 76
*†Mushfiqur Rahim lbw b Hafeez 0
Soumya Sarkar c Hafeez b Shafiq 33
Shuvagata Hom not out 20
Extras (lb 4, w 2, nb 3) 9
Total (6 wickets; 136 overs) 555
Did not bat: Taijul Islam, Rubel Hossain, Mohammad Shahid
Fall: 1-312, 2-345, 3-399, 4-463, 5-464, 6-524
Bowling: Junaid 21-5-88-2(3nb, 1w); Babar 32-1-125-1; Hafeez 20-0-82-2; Riaz 20-3-75-0(1w); Yasir 30-2-123-0; Azhar 6-1-26-0; Shafiq 7-0-32-1
Result: Match drawn
Series: 2-match series level at 0-0
Man of the Match: Tamim Iqbal (Bangladesh)
Test debuts: Mohammad Shahid and Soumya Sarkar (Bangladesh); Sami Aslam (Pakistan)
Umpires: N J Llong (England) and R E J Martinesz (Sri Lanka)
TV umpire: P R Reiffel (Australia)
Match referee: J J Crowe (New Zealand)