Across comparable stats, AB de Villiers leads 29–0.
Test
| AB de Villiers | Stat | Imam-ul-Haq |
|---|---|---|
| 114 | Matches | 31 |
| 191 | Innings | 58 |
| 8765 | Runs | 1865 |
| 50.66 | Average | 34.53 |
| 54.51 | Strike rate | 47.77 |
| 278* | Highest | 157 |
| 22 | Hundreds | 3 |
| 46 | Fifties | 11 |
| 1024 | Fours | 202 |
| 64 | Sixes | 13 |
| 2 | Wickets | 0 |
| 52.00 | Bowling average | - |
| 3.05 | Economy | 4.50 |
| 2/49 | Best bowling | - |
| 0 | 5 wickets | 0 |
ODI
| AB de Villiers | Stat | Imam-ul-Haq |
|---|---|---|
| 228 | Matches | 75 |
| 218 | Innings | 74 |
| 9577 | Runs | 3152 |
| 53.50 | Average | 47.04 |
| 101.09 | Strike rate | 81.95 |
| 176 | Highest | 151 |
| 25 | Hundreds | 9 |
| 53 | Fifties | 20 |
| 840 | Fours | 253 |
| 204 | Sixes | 30 |
| 7 | Wickets | 0 |
| 28.85 | Bowling average | - |
| 6.31 | Economy | - |
| 2/15 | Best bowling | - |
| 0 | 5 wickets | 0 |
T20I
| AB de Villiers | Stat | Imam-ul-Haq |
|---|---|---|
| 78 | Matches | 2 |
| 75 | Innings | 2 |
| 1672 | Runs | 21 |
| 26.12 | Average | 10.50 |
| 135.16 | Strike rate | 84.00 |
| 79* | Highest | 14 |
| 0 | Hundreds | 0 |
| 10 | Fifties | 0 |
| 140 | Fours | 2 |
| 60 | Sixes | 0 |