DY 5502 then AY 816 at Arlanda
Barcelona → Stockholm → Helsinki
Timetable, Stockholm time
18:25DY 5502 from Barcelona at the gate
17:40AY 816 to Helsinki leaves the gate
23 h 15 apart on the timetable, overnight
AY 816 leaves 23 h 15 after DY 5502 arrives on the timetable: more than half a day, so not a connection we count.