Across comparable stats, Mohammad Hafeez leads 30–5.

Test

Mohammad HafeezStatYasir Shah
55 Matches 48
105 Innings 72
3652 Runs 918
37.64 Average 14.12
56.01 Strike rate 47.05
224 Highest 113
10 Hundreds 1
12 Fifties 0
455 Fours 105
28 Sixes 10
53 Wickets 244
34.11 Bowling average 31.38
2.66 Economy 3.22
4/16 Best bowling 8/41
2 5 wickets 15

ODI

Mohammad HafeezStatYasir Shah
218 Matches 25
216 Innings 13
6614 Runs 127
32.90 Average 18.14
76.61 Strike rate 85.23
140* Highest 32*
11 Hundreds 0
38 Fifties 0
664 Fours 9
110 Sixes 1
139 Wickets 24
38.84 Bowling average 47.91
4.18 Economy 5.33
4/41 Best bowling 6/26
1 5 wickets 1

T20I

Mohammad HafeezStatYasir Shah
119 Matches 2
108 Innings 1
2514 Runs 11
26.46 Average -
122.03 Strike rate 157.14
99* Highest 11*
0 Hundreds 0
14 Fifties 0
251 Fours 1
76 Sixes 0
61 Wickets 0
22.75 Bowling average -
6.60 Economy 9.75
4/10 Best bowling -
1 5 wickets 0