FR 4023 then FR 1317 at Lisbon
Krakow → Lisbon → APF
Timetable, Lisbon time
18:40FR 4023 from Krakow at the gate
15:55FR 1317 to APF leaves the gate
21 h 15 apart on the timetable, overnight
FR 1317 leaves 21 h 15 after FR 4023 arrives on the timetable: more than half a day, so not a connection we count.