FR 4641 then DY 817 at Arlanda
Riga → Stockholm → Oslo
Timetable, Stockholm time
14:00FR 4641 from Riga at the gate
13:40DY 817 to Oslo leaves the gate
23 h 40 apart on the timetable, overnight
DY 817 leaves 23 h 40 after FR 4641 arrives on the timetable: more than half a day, so not a connection we count.