FR 7599 then FR 4626 at Arlanda
Budapest → Stockholm → Krakow
Timetable, Stockholm time
20:50FR 7599 from Budapest at the gate
14:10FR 4626 to Krakow leaves the gate
17 h 20 apart on the timetable, overnight
FR 4626 leaves 17 h 20 after FR 7599 arrives on the timetable: more than half a day, so not a connection we count.