Across comparable stats, Mohammad Hafeez leads 23–15.
Test
| Mohammad Hafeez | Stat | Shahid Afridi |
|---|---|---|
| 55 | Matches | 27 |
| 105 | Innings | 48 |
| 3652 | Runs | 1716 |
| 37.64 | Average | 36.51 |
| 56.01 | Strike rate | 86.97 |
| 224 | Highest | 156 |
| 10 | Hundreds | 5 |
| 12 | Fifties | 8 |
| 455 | Fours | 220 |
| 28 | Sixes | 52 |
| 53 | Wickets | 48 |
| 34.11 | Bowling average | 35.60 |
| 2.66 | Economy | 3.21 |
| 4/16 | Best bowling | 5/52 |
| 2 | 5 wickets | 1 |
ODI
| Mohammad Hafeez | Stat | Shahid Afridi |
|---|---|---|
| 218 | Matches | 398 |
| 216 | Innings | 369 |
| 6614 | Runs | 8064 |
| 32.90 | Average | 23.57 |
| 76.61 | Strike rate | 117.00 |
| 140* | Highest | 124 |
| 11 | Hundreds | 6 |
| 38 | Fifties | 39 |
| 664 | Fours | 730 |
| 110 | Sixes | 351 |
| 139 | Wickets | 395 |
| 38.84 | Bowling average | 34.51 |
| 4.18 | Economy | 4.62 |
| 4/41 | Best bowling | 7/12 |
| 1 | 5 wickets | 4 |
T20I
| Mohammad Hafeez | Stat | Shahid Afridi |
|---|---|---|
| 119 | Matches | 99 |
| 108 | Innings | 91 |
| 2514 | Runs | 1416 |
| 26.46 | Average | 17.92 |
| 122.03 | Strike rate | 150.00 |
| 99* | Highest | 54* |
| 0 | Hundreds | 0 |
| 14 | Fifties | 4 |
| 251 | Fours | 103 |
| 76 | Sixes | 73 |
| 61 | Wickets | 98 |
| 22.75 | Bowling average | 24.44 |
| 6.60 | Economy | 6.63 |
| 4/10 | Best bowling | 4/11 |
| 1 | 5 wickets | 3 |