Across comparable stats, Azhar Mahmood leads 15–10.
Test
| Azhar Mahmood | Stat | Dean Elgar |
|---|---|---|
| 21 | Matches | 86 |
| 34 | Innings | 152 |
| 900 | Runs | 5347 |
| 30.00 | Average | 37.92 |
| 50.79 | Strike rate | 47.78 |
| 136 | Highest | 199 |
| 3 | Hundreds | 14 |
| 1 | Fifties | 23 |
| 113 | Fours | 684 |
| 5 | Sixes | 26 |
| 39 | Wickets | 15 |
| 35.94 | Bowling average | 44.86 |
| 2.79 | Economy | 3.89 |
| 4/50 | Best bowling | 4/22 |
| 2 | 5 wickets | 1 |
ODI
| Azhar Mahmood | Stat | Dean Elgar |
|---|---|---|
| 143 | Matches | 8 |
| 110 | Innings | 7 |
| 1521 | Runs | 104 |
| 18.10 | Average | 17.33 |
| 76.50 | Strike rate | 58.75 |
| 67 | Highest | 42 |
| 0 | Hundreds | 0 |
| 3 | Fifties | 0 |
| 119 | Fours | 6 |
| 24 | Sixes | 0 |
| 123 | Wickets | 2 |
| 39.13 | Bowling average | 33.50 |
| 4.62 | Economy | 4.18 |
| 6/18 | Best bowling | 1/11 |
| 2 | 5 wickets | 0 |