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