Across comparable stats, AB de Villiers leads 25–11.
Test
| AB de Villiers | Stat | Hasan Ali |
|---|---|---|
| 114 | Matches | 27 |
| 191 | Innings | 44 |
| 8765 | Runs | 407 |
| 50.66 | Average | 11.30 |
| 54.51 | Strike rate | 68.98 |
| 278* | Highest | 30 |
| 22 | Hundreds | 0 |
| 46 | Fifties | 0 |
| 1024 | Fours | 38 |
| 64 | Sixes | 20 |
| 2 | Wickets | 88 |
| 52.00 | Bowling average | 28.09 |
| 3.05 | Economy | 3.07 |
| 2/49 | Best bowling | 5/27 |
| 0 | 5 wickets | 2 |
ODI
| AB de Villiers | Stat | Hasan Ali |
|---|---|---|
| 228 | Matches | 68 |
| 218 | Innings | 39 |
| 9577 | Runs | 383 |
| 53.50 | Average | 13.67 |
| 101.09 | Strike rate | 116.06 |
| 176 | Highest | 59 |
| 25 | Hundreds | 0 |
| 53 | Fifties | 2 |
| 840 | Fours | 28 |
| 204 | Sixes | 24 |
| 7 | Wickets | 102 |
| 28.85 | Bowling average | 31.16 |
| 6.31 | Economy | 5.80 |
| 2/15 | Best bowling | 5/34 |
| 0 | 5 wickets | 2 |
T20I
| AB de Villiers | Stat | Hasan Ali |
|---|---|---|
| 78 | Matches | 57 |
| 75 | Innings | 22 |
| 1672 | Runs | 147 |
| 26.12 | Average | 13.36 |
| 135.16 | Strike rate | 170.93 |
| 79* | Highest | 23 |
| 0 | Hundreds | 0 |
| 10 | Fifties | 0 |
| 140 | Fours | 7 |
| 60 | Sixes | 12 |
| 0 | Wickets | 72 |
| - | Bowling average | 23.30 |
| - | Economy | 8.71 |
| - | Best bowling | 5/30 |
| 0 | 5 wickets | 1 |