SK 1584 then SK 2004 at Arlanda
Málaga → Stockholm → Lulea
Timetable, Stockholm time
15:35SK 1584 from Málaga at the gate
06:40SK 2004 to Lulea leaves the gate
15 h 05 apart on the timetable, overnight
SK 2004 leaves 15 h 05 after SK 1584 arrives on the timetable: more than half a day, so not a connection we count.