EC 7102 then DY 5502 at Barcelona
Basel → Barcelona → Stockholm
Timetable, Barcelona time
14:40EC 7102 from Basel at the gate
08:00DY 5502 to Stockholm leaves the gate
17 h 20 apart on the timetable, overnight
DY 5502 leaves 17 h 20 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.