DY 1719 then DY 820 at Oslo
Madrid → Oslo → Stockholm
Timetable, Oslo time
23:45DY 1719 from Madrid at the gate
17:00DY 820 to Stockholm leaves the gate
17 h 15 apart on the timetable, overnight
DY 820 leaves 17 h 15 after DY 1719 arrives on the timetable: more than half a day, so not a connection we count.