DY 5502 then DY 5053 at Arlanda
Barcelona → Stockholm → Málaga
Timetable, Stockholm time
17:25DY 5502 from Barcelona at the gate
14:00DY 5053 to Málaga leaves the gate
20 h 35 apart on the timetable, overnight
DY 5053 leaves 20 h 35 after DY 5502 arrives on the timetable: more than half a day, so not a connection we count.