Almihdhar and Alhazmi were aboard American Airlines Flight 77 , which crashed into the Pentagon .