DY 5502 then DY 4051 at Arlanda
Barcelona → Stockholm → Skelleftea
Timetable, Stockholm time
17:25DY 5502 from Barcelona at the gate
16:00DY 4051 to Skelleftea leaves the gate
22 h 35 apart on the timetable, overnight
DY 4051 leaves 22 h 35 after DY 5502 arrives on the timetable: more than half a day, so not a connection we count.