The Guyanese left-hander needed lengthy treatment, but opted to continue and despite losing Powell, who was bowled by Lee for three, he reached his 18th Test century off 259 balls with a straight driveoff Clark.
After the onslaught from Tamim it was inevitable that runs would not flow as freely, but the 200 still arrived in reasonable time in the 49th over and Madmudullah completed an assured fourth Test fifty in only his seventh match with an elegant drive to the cover boundary off Swann.
If there was only one really memorable shot played, a dreamy on-drive for four off Onions, it was a classic example of how building an innings in Test cricket is all about high-quality defence and putting away the bad ball.