SK 1811 then VY 1008 at Barcelona
Stockholm → Barcelona → Madrid
Timetable, Barcelona time
16:55SK 1811 from Stockholm at the gate
16:30VY 1008 to Madrid leaves the gatealso QR 3515, QR 5529, IB 5992, LL 5992
23 h 35 apart on the timetable, overnight
VY 1008 leaves 23 h 35 after SK 1811 arrives on the timetable: more than half a day, so not a connection we count.