DY 1719 then DY 5523 at Oslo
Madrid → Oslo → Barcelona
Timetable, Oslo time
23:45DY 1719 from Madrid at the gate
19:20DY 5523 to Barcelona leaves the gate
19 h 35 apart on the timetable, overnight
DY 5523 leaves 19 h 35 after DY 1719 arrives on the timetable: more than half a day, so not a connection we count.