FR 7599 then FR 4616 at Arlanda
Budapest → Stockholm → Gdansk
Timetable, Stockholm time
09:30FR 7599 from Budapest at the gate
06:05FR 4616 to Gdansk leaves the gate
20 h 35 apart on the timetable, overnight
FR 4616 leaves 20 h 35 after FR 7599 arrives on the timetable: more than half a day, so not a connection we count.