Mohammad Hafeez (Punjabi and Urdu: محمد حفیظ; born 17 October 1980) is a former Pakistani international cricketer. Hafeez was a versatile batsman who could bat anywhere in the top 6 and formed part of the bowling attack. He played as a spin bowling all-rounder for the majority of his career and, along with Saeed Ajmal and Shahid Afridi, formed part of one of the best spin attacks in the 2010's . He retired from Test cricket after the third and final match against New Zealand in Abu Dhabi in December 2018, departing the ground for the final time in white clothing to a guard of honour from his teammates. On 3 January 2022, he announced his retirement from all forms of international cricket, ending a career that spanned more than 18 years.