The former skipper said that he will provide whatever advice or assistance Hafeez needed.
Stuart Broad tore his shoulder muscle while bowling in the Lord's ODI against India.
Australia's Twenty20 captain is looking to get the team off to a winning start.
It follows Ponting's decision last month to step down from international Twenty20 cricket.
Younis had announced retirement from T20 after the World Cup.
Jio MAMI 2016: Bollywood Stars Shine on the Red Carpet at the Opening Ceremony
Hollywood Friday: Inferno or Girl On The Train; What's Your Pick?
Amitabh Bachchan Celebrates His Birthday With the Team of Pink
Rani Mukerji, Kajol, Ranbir Kapoor Step Out In Style For Durga Puja Celebrations
Bollywood Friday: Mirzya and Tutak Tutak Tutiya Release This Week