FR 7599 then FR 4686 at Arlanda
Budapest → Stockholm → Málaga
Timetable, Stockholm time
20:50FR 7599 from Budapest at the gate
19:30FR 4686 to Málaga leaves the gate
22 h 40 apart on the timetable, overnight
FR 4686 leaves 22 h 40 after FR 7599 arrives on the timetable: more than half a day, so not a connection we count.