FR 4617 then FR 6389 at Arlanda
Gdansk → Stockholm → Málaga
Timetable, Stockholm time
15:50FR 4617 from Gdansk at the gate
13:40FR 6389 to Málaga leaves the gate
21 h 50 apart on the timetable, overnight
FR 6389 leaves 21 h 50 after FR 4617 arrives on the timetable: more than half a day, so not a connection we count.