EW 4601 then DY 4223 at Arlanda
Berlin → Stockholm → Málaga
Timetable, Stockholm time
15:25EW 4601 from Berlin at the gate
13:30DY 4223 to Málaga leaves the gate
22 h 05 apart on the timetable, overnight
DY 4223 leaves 22 h 05 after EW 4601 arrives on the timetable: more than half a day, so not a connection we count.