Haque remained unbeaten on 100, sharing an unbroken 120-run stand for the fourth wicket with Shakib Al Hasan, as stumps were called with Bangladesh 271 for 3 at the Zahur Ahmed Choudhury Stadium. Bangladesh had been set a target of 467 on the final day for a series-levelling win, and while victory was improbable, the batsmen did well to resist. Shakib remained unbeaten on 43.
Sri Lanka took the series by a 1-0 margin by virtue of its innings and 248-run win in Dhaka in the first Test.
Bangladesh, who resumed on 12 without loss, lost both openers in the morning session. Tamim Iqbal and Shamsur Rahman added 71 for the first wicket, but fell in the space of ten runs, as Bangladesh headed into lunch on 91 for 2.
Tamim was the first to depart, when he was bowled by Kithuruwan Vithanage, the leg-spinner, having made 31. Rahman, the centurion from the first Test, departed soon after, when Dilruwan Perera, the off-spinner lured him forward, only to induce an inside edge that went on to hit the stumps.
Imrul Kayes, the first-innings centurion, then got together with Mominul to add 70 for the third wicket in a partnership that went a long way towards making Bangladesh relatively safe, before Perera struck again, this time trapping Kayes in front. Kayes departed for 25, as Bangladesh broke for tea on 204 for 3.
It resumed after tea, but Haque and Shakib remained steadfast to ensure there would be no sudden collapse.
The draw in Chittagong marked only the second such instance in the 16 Test matches played between these two countries. Sri Lanka has won the other 14, eight of them by an innings.
Bangladesh, currently at the bottom of the Test rankings table at No. 10, has won four of the 83 Tests it has played and lost 68.