AY 654 then DY 2884 at Helsinki
Stockholm → Helsinki → Málaga
Timetable, Helsinki time
12:30AY 654 from Stockholm at the gate
12:15DY 2884 to Málaga leaves the gate
23 h 45 apart on the timetable, overnight
DY 2884 leaves 23 h 45 after AY 654 arrives on the timetable: more than half a day, so not a connection we count.