AY 813 then DY 5053 at Arlanda
Helsinki → Stockholm → Málaga
Timetable, Stockholm time
16:10AY 813 from Helsinki at the gate
14:00DY 5053 to Málaga leaves the gate
21 h 50 apart on the timetable, overnight
DY 5053 leaves 21 h 50 after AY 813 arrives on the timetable: more than half a day, so not a connection we count.