FR 4641 then AY 802 at Arlanda
Riga → Stockholm → Helsinki
Timetable, Stockholm time
15:35FR 4641 from Riga at the gate
07:55AY 802 to Helsinki leaves the gate
16 h 20 apart on the timetable, overnight
AY 802 leaves 16 h 20 after FR 4641 arrives on the timetable: more than half a day, so not a connection we count.