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