Lewis Hamilton of Ferrari will start second on the grid in Sepang, with Red Bull's Isack Hadjar third.