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