FR 4627 then FR 7678 at Arlanda
Krakow → Stockholm → Poznan
Timetable, Stockholm time
22:30FR 4627 from Krakow at the gate
21:15FR 7678 to Poznan leaves the gate
22 h 45 apart on the timetable, overnight
FR 7678 leaves 22 h 45 after FR 4627 arrives on the timetable: more than half a day, so not a connection we count.