Follow Whatsapp Channel
The PCB would be paying some months' salaries as compensation to the trio.
The third umpire overturned the on-field decision following a review which took several minutes.
Hafeez represented Pakistan in 392 international matches in which he scored 12,789 runs and took 253 wickets.
Gambhir castigated Warner for what he thought was an "absolutely pathetic" action.
Hafeez, who will turn 41 next month, is under treatment at his home in Lahore.
The Pakistan Cricket Board confirmed on Tuesday that a total of 10 players, including Hafeez, had tested positive but the 39-year-old said in a tweet that a subsequent examination at a private laboratory in Lahore had cleared him.
The Pakistan Cricket Board on Saturday confirmed 20 players and 11 support personnel will travel on a chartered flight to Manchester on Sunday morning for a three-Test and three Twenty20 International series.
Fakhar Zaman, Mohammad Hasnain, Mohammad Rizwan, Shadab Khan and Wahab Riaz also tested negative for the second time in three days and would join rest of the team in Worcestershire.
Pakistan held their nerve to defeat England by five runs in the third and final T20I.
PCB CEO Wasim Khan said that Hafeez should focus on his game rather than question the board.
Results 1-10 of 11