Gayle took to Twitter to write "Welcome to the Triple club, @davidwarner31 - Top stuff."
Gayle is also in the 300-run club as he scored 333 runs against Sri Lanka in 2010.
Australia declared their first innings on 589/3 and after that, the bowlers took the charge to put the hosts on a dominating position.
Mitchell Starc destroyed Pakistan's batting line-up as he picked four wickets while giving away just 22 runs in 13 over.
Pakistan will resume their first innings from 96/6 on day three.