Captain Alvaro Morata and Oihan Sancet scored second-half goals as Spain ensured there would be no Scottish party with a 2-0 victory in their Euro 2024 Group A encounter on Thursday, leaving a frustrated Scotland waiting to book a finals place.
Scotland lead the group with 15 points from their six games having endured defeat for the first time in the campaign, while Spain have 12 points from five matches and Norway 10 from six.
Scotland had won the first leg in Glasgow 2-0 in March. They will qualify if Norway fail to win at home to Spain on Sunday.
The victory extends Spain’s winning run in home Euro qualifiers to 25 matches dating back to 2003, but they were kept at bay for much of the night by the Scottish defence, though the loss after 44 minutes of captain Andy Robertson to injury was a blow to the visitors.
Scotland thought they had scored the opener midway through the second half when Scott McTominay netted from a free-kick, but the goal was ruled out for offside.
Robertson, who plays for Premier League side Liverpool, suffered a shoulder injury in a collision with Spain goalkeeper Unai Simon and was unable to continue.
He walked off with his arm in a makeshift sling.
Erling Haaland scored twice as Norway cruised past Cyprus 4-0 to keep their qualification hopes alive. Alexander Sorloth and Fredrik Aursnes were also on target in Larnaca.
Written with inputs from Reuters