Rizwan and Irfan both suffered hamstring injuries in the third match in Rawalpindi, where a second-string New Zealand side won by seven wickets to level the five-match series 1-1
Put in to bat, Sri Lanka looked to be in control when they were 100-1 in the 12th over but the hosts were bundled out for 128 as Hazlewood took three wickets in an over to finish with 4-16, while Mitchell Starc bagged 3-26.
The Australian cricket board announced before the match that fast bowler Sean Abbott, who was in their T20 squad, would return home after breaking a finger in the nets.
The second T20 will be held on Wednesday followed by the third on Saturday. The teams will then play five one-day internationals and two Tests.