Hayden on fifth spot in qualifying