Mahmudullah, having scored only his second Test century, and the first in more than eight years was relieved.
The Bangladesh stand-in captain was also thankful to the heavens having revived his team from an early collapse in the series saving game.
As soon he reached the millstone, Mahmudullah punched the air, acknowledge the Bangladesh dressing room and bowed down to the ground for a sajdah.
Mehedi Hasan Miraz who was batting on 27 runs, quickly accompanied his skipper to perform his own sajdah.
It was later revealed that the right-arm all-rounder Mehedi was excited to see Bangladesh doing well in the game, having come from a disappointing loss in the first Test.