The flight was bound for Madrid, Spain, but had to return to the airport from which it had departed due to an issue experienced on board.