Across comparable stats, AB de Villiers leads 17–4.
Test
| AB de Villiers | Stat | Mohammad Hasnain |
|---|---|---|
| 114 | Matches | - |
| 191 | Innings | - |
| 8765 | Runs | - |
| 50.66 | Average | - |
| 54.51 | Strike rate | - |
| 278* | Highest | - |
| 22 | Hundreds | - |
| 46 | Fifties | - |
| 1024 | Fours | - |
| 64 | Sixes | - |
| 2 | Wickets | - |
| 52.00 | Bowling average | - |
| 3.05 | Economy | - |
| 2/49 | Best bowling | - |
| 0 | 5 wickets | - |
ODI
| AB de Villiers | Stat | Mohammad Hasnain |
|---|---|---|
| 228 | Matches | 15 |
| 218 | Innings | 7 |
| 9577 | Runs | 53 |
| 53.50 | Average | 17.66 |
| 101.09 | Strike rate | 155.88 |
| 176 | Highest | 28 |
| 25 | Hundreds | 0 |
| 53 | Fifties | 0 |
| 840 | Fours | 9 |
| 204 | Sixes | 1 |
| 7 | Wickets | 17 |
| 28.85 | Bowling average | 44.41 |
| 6.31 | Economy | 6.30 |
| 2/15 | Best bowling | 5/26 |
| 0 | 5 wickets | 0 |
T20I
| AB de Villiers | Stat | Mohammad Hasnain |
|---|---|---|
| 78 | Matches | 28 |
| 75 | Innings | 11 |
| 1672 | Runs | 24 |
| 26.12 | Average | 24.00 |
| 135.16 | Strike rate | 92.30 |
| 79* | Highest | 8* |
| 0 | Hundreds | 0 |
| 10 | Fifties | 0 |
| 140 | Fours | 2 |
| 60 | Sixes | 1 |
| 0 | Wickets | 25 |
| - | Bowling average | 35.08 |
| - | Economy | 8.51 |
| - | Best bowling | 3/37 |
| 0 | 5 wickets | 0 |