The Boeing 777 was flying from Abuja, Nigeria, to London Heathrow but had to make an emergency landing in Palma de Mallorca