DY 1718 then FR 572 at Madrid
Oslo → Madrid → Porto
Timetable, Madrid time
19:15DY 1718 from Oslo at the gate
11:15FR 572 to Porto leaves the gate
16 h apart on the timetable, overnight
FR 572 leaves 16 h after DY 1718 arrives on the timetable: more than half a day, so not a connection we count.