AY 815 then FR 3077 at Arlanda
Helsinki → Stockholm → Barcelona
Timetable, Stockholm time
16:55AY 815 from Helsinki at the gate
16:25FR 3077 to Barcelona leaves the gate
23 h 30 apart on the timetable, overnight
FR 3077 leaves 23 h 30 after AY 815 arrives on the timetable: more than half a day, so not a connection we count.