SK 1584 then FR 4678 at Arlanda
Málaga → Stockholm → Gdansk
Timetable, Stockholm time
15:45SK 1584 from Málaga at the gate
06:00FR 4678 to Gdansk leaves the gate
14 h 15 apart on the timetable, overnight
FR 4678 leaves 14 h 15 after SK 1584 arrives on the timetable: more than half a day, so not a connection we count.