FR 9796 then DY 823 at Arlanda
Marrakesh → Stockholm → Oslo
Timetable, Stockholm time
00:50FR 9796 from Marrakesh at the gate
19:35DY 823 to Oslo leaves the gate
18 h 45 apart on the timetable
DY 823 leaves 18 h 45 after FR 9796 arrives on the timetable: more than half a day, so not a connection we count.