England beat South Africa by 26 runs on the Duckworth/Lewis method after rain washed out play 25.1 overs into the England innings.
The England all rounder enhanced his case for the first Test against West Indies with a ton in the three-day game against Jamaica.
England were 263 for four when bad light ended lay 4.2 overs early.
England won the fourth match by 74 runs to complete a 4-0 whitewash in the one-day international series.
The England captain said he was happy the team was able to conquer the nerves after a strange week leading up to the first match in Zimbabwe.
It was the 34th ODI hundred for the Indian captain, who is now 15 shy of Sachin Tendulkar's mark of 49.
England go into the fourth Test in Melbourne, which starts on Thursday, 3-0 down in the series.\n\n
An unbeaten 86 by Mahela Jayawardene enabled Sri Lanaka score 226 in their second innings on day 4 of the first Test.
England are considering playing three specialist spinners in the opening Test match against Sri Lanka.\n\n
The former England captain believes believes England's job will be tougher this year because their bowling attack is inexperienced.
The Australian captain mirrors daunting records for England, as the teams ready for the semi-final clash in Champions Trophy.
The 25-year-old, man-of-the-match after taking nine wickets in England's first test victory last week, has a hip injury.
England were 111 without loss at the close of day 2 in reply to Bangladesh's first-innings total of 203 in the first Test.
The fast bowler took six for 46 as the West Indies were dismissed for 152 in their first innings and then added another two as the tourists ended the day 84 for two after following on.
England finished well on top after a fluctuating third day of the second test against West Indies at Edgbaston on Saturday.
'It was good fun to be out there. It was great to bat with Roy. He gave me a lot of confidence and allowed me to just play the way I wanted to play'
South Africa's main strike bowler misses the fourth Test to attend the birth of his first child
Former England captain Michael Vaughan is doubtful if pacer Jofra Archer will take any further part in the ongoing three-match Test series against West Indies after he was dropped for "selfishly" breaching the bio-secure bubble.
"We got off to a reasonable start but we didn't capitalise on it," said the SA skipper.
The West Indies skipper dislodged Australia's opening batsman Matthew Hayden.
Former England skipper Michael Vaughan has called on his country's players to go ahead with their tour of Bangladesh, saying that they should trust the security experts and ignore the political machinations. England's players were earlier given a choice to decide whether they want to tour Bangladesh later this year in the wake of the security concerns despite the England and Wales Cricket Board (ECB) and its longstanding security expert, Reg Dickason, deeming the trip to Dhaka as safe.
England, all out for 285 in the first innings, were still 466 behind West Indies' mammoth 751-5 declared after day four of the fourth Test.