Across comparable stats, Hashim Amla leads 0–26.
Test
| Niall O'Brien | Stat | Hashim Amla |
|---|---|---|
| 1 | Matches | 124 |
| 2 | Innings | 215 |
| 18 | Runs | 9282 |
| 9.00 | Average | 46.64 |
| 32.72 | Strike rate | 49.97 |
| 18 | Highest | 311* |
| 0 | Hundreds | 28 |
| 0 | Fifties | 41 |
| 2 | Fours | 1170 |
| 0 | Sixes | 14 |
ODI
| Niall O'Brien | Stat | Hashim Amla |
|---|---|---|
| 103 | Matches | 181 |
| 101 | Innings | 178 |
| 2581 | Runs | 8113 |
| 28.05 | Average | 49.46 |
| 70.94 | Strike rate | 88.39 |
| 109 | Highest | 159 |
| 1 | Hundreds | 27 |
| 18 | Fifties | 39 |
| 218 | Fours | 822 |
| 30 | Sixes | 53 |
T20I
| Niall O'Brien | Stat | Hashim Amla |
|---|---|---|
| 30 | Matches | 44 |
| 28 | Innings | 44 |
| 466 | Runs | 1277 |
| 17.92 | Average | 33.60 |
| 98.10 | Strike rate | 132.05 |
| 50 | Highest | 97* |
| 0 | Hundreds | 0 |
| 1 | Fifties | 8 |
| 40 | Fours | 146 |
| 7 | Sixes | 26 |