DY 5502 then DY 817 at Arlanda
Barcelona → Stockholm → Oslo
Timetable, Stockholm time
17:25DY 5502 from Barcelona at the gate
16:30DY 817 to Oslo leaves the gate
23 h 05 apart on the timetable, overnight
DY 817 leaves 23 h 05 after DY 5502 arrives on the timetable: more than half a day, so not a connection we count.