Real Madrid have clinched a place in the last 16 of the Champions League after beating Sampdione.
It was a 1-0 win for the visitors and they will have to play second-placed Juventus in their last game before the World Cup finals in Russia.
The result means Madrid will finish runners-up to Barcelona in Group B. Real Madrid 1-1 Sampdori (Thursday) The hosts were in fine form in the second half, but were undone by a late penalty that saw them lose their momentum.
As a result, they have to face second-seeded Juventus on Thursday night.
Mario Mandzukic equalised on a penalty, but Mario Suarez’s header was blocked.
The second goal was the result of a sloppy, one-touch move by James Rodriguez in the area.
The Uruguayan was sent off for a second yellow card and he will miss Saturday’s game against Napoli.