Bangladesh was chasing a 147 victory and had to get 11 runs in the last over bowled by Hardik Pandya.
Mushfiqur Rahim was able to get fours off the first two balls but, lost three wickets in four deliveries as a jubilant India team scraped over the line to climb to second in the table while its opponents remained bottom following a third defeat.