Veteran wicketkeeper-batter Mushfiqur Rahim retired from ODI cricket as Bangladesh’s most-capped player and second-highest run-scorer in the format.