Hafeez on his retirement said "Today I want to announce my retirement from the Test match format so that I can focus my energies on playing for Pakistan in the white ball formats. I am eyeing to represent Pakistan in the ICC World Cup next year."
"I feel honoured that I represented the country in 55 Test matches including the opportunity of captaining the team, I feel satisfied that I performed to the best of my abilities in my 15 year-long Test career," he said.
He said "I wish the Test team the very best for their upcoming assignments starting with the tour to South Africa, the team management especially the coach and captain have worked very hard in forming an exciting core of players that can serve for long."
Chairman Pakistan Cricket Board Ehsan Mani has congratulated Muhammad Hafeez on his Test career which includes 10 centuries and 12 half-centuries, besides accumulating a tally of 53 wickets.
"Hafeez gave some memorable and match winning performances for Pakistan in the Test match format. He lent great balance to the eleven with his bowling abilities. His contribution in Test cricket would be remembered for long time.
I wish him the very best for the remainder of his international career," said PCB Chief.