Across comparable stats, Fanie de Villiers leads 2–21.

Test

Sajid MahmoodStatFanie de Villiers
8 Matches 18
11 Innings 26
81 Runs 359
8.10 Average 18.89
50.31 Strike rate 36.22
34 Highest 67*
0 Hundreds 0
0 Fifties 2
10 Fours 36
0 Sixes 5
20 Wickets 85
38.10 Bowling average 24.27
4.04 Economy 2.57
4/22 Best bowling 6/23
2 5 wickets 6

ODI

Sajid MahmoodStatFanie de Villiers
26 Matches 83
15 Innings 36
85 Runs 170
7.72 Average 8.09
84.15 Strike rate 77.98
22* Highest 20*
0 Hundreds 0
0 Fifties 0
8 Fours 13
1 Sixes 2
30 Wickets 95
38.96 Bowling average 27.74
5.85 Economy 3.57
4/50 Best bowling 4/27
1 5 wickets 2

T20I

Sajid MahmoodStatFanie de Villiers
4 Matches -
2 Innings -
1 Runs -
50.00 Strike rate -
1* Highest -
0 Hundreds -
0 Fifties -
0 Fours -
0 Sixes -
3 Wickets -
51.66 Bowling average -
11.07 Economy -
1/31 Best bowling -
0 5 wickets -