FR 4641 then DY 2603 at Arlanda
Riga → Stockholm → Helsinki
Timetable, Stockholm time
14:00FR 4641 from Riga at the gate
08:05DY 2603 to Helsinki leaves the gate
18 h 05 apart on the timetable, overnight
DY 2603 leaves 18 h 05 after FR 4641 arrives on the timetable: more than half a day, so not a connection we count.