He is now set to take up a new role as UAE's assistant coach.
"It is with great pride that I'm announcing my retirement from all forms of cricket," Raza wrote on social media. "After much thought, I believe this is the right time to step away from the game that has given me so much love and respect over the last 17 years.
"Representing and leading my country in the great sport of cricket has been one of the greatest honors of mine. I must thank the Board, my colleagues, coaches, selectors and most importantly my late father, who supported and enabled me to live my dream to the fullest. Also, my mother, my siblings and my friends who were there through it all. Lastly and most importantly to my wife, Mehreen, who has been my biggest support system over the last few years.
"It's hard to pinpoint a moment over the course of 17 years, however, leading the UAE to the T20 World Cup will always be a significant achievement of mine.
"Whilst there are many that supported me throughout my career - I would like to say a special thank you to Aqib Javed, who contributed greatly to my success and turned a rookie into a thorough professional.
"I am looking forward to what the future holds."
In the 53 ODIs he played, Raza took 64 wickets and scored 409 runs; in 55 T20Is, he accounted for 37 wickets.