"Tom and Katie watched David's final game with Real Madrid and then they all went out for a late dinner with Victoria," a family friend tells PEOPLE. "It was a fabulous game, the team won the championship and the meal was brilliant."
Beckham had three near-goal attempts before being sidelined in the second half with a minor left ankle injury, while his wife, Cruise and Holmes – all in shades – watched the Sunday night match from the stands.
With an ice-pack on his ankle, Beckham, 32, leapt for joy on the final whistle. As the players celebrated, the Beckhams' three sons – Brooklyn, 8, Romeo, 4, and Cruz, 2 – joined him for a celebratory hug on the field.
"The boys were all wearing identical shirts to their dad," says the friend. "It was fantastic for them to go on the field after the win, because it was the last game and it was Father's Day. It was out of a film script."
Cruise and Holmes, who have been in Germany for several days negotiating financing for a film about an attempt to assassinate Hitler, then took the Beckhams and their extended families out for a dinner of northern Spanish cuisine.
"Their last meal in Madrid was fabulous and Tom was in such good spirits," says the pal. The Beckhams, who have been packing for several weeks, leave Spain on Monday to go on an extended vacation before relocating to L.A.
Cruise and Holmes, meanwhile, are expected to remain in Europe for the wedding of Cruise's friend James Packer, the Australian billionaire who flew the Cruises to the Maldives on his private jet for a honeymoon aboard his yacht the day after they wed in Rome.
Perhaps surprisingly, there will not be a big goodbye party in Britain for the Beckhams. "It will be a low-key farewell from England," says the friend. "But Tom has offered to host a housewarming party for them in L.A. That's going to be something really special."
Splash News Online