SK 1811 then QR 3771 at Barcelona
Stockholm → Barcelona → Basel
Timetable, Barcelona time
16:55SK 1811 from Stockholm at the gate
08:45QR 3771 to Basel leaves the gate
15 h 50 apart on the timetable, overnight
QR 3771 leaves 15 h 50 after SK 1811 arrives on the timetable: more than half a day, so not a connection we count.