Hamilton set a lap of one minute 25.801 seconds to edge out team-mate Jenson Button by 0.275 secs before a spell of heavy rain hit the Albert Park track.
"In my whole career, I've never managed to get back on track after such a heavy impact and I'm really happy to still be in the hunt for qualifying, " the Brazilian said.