FR 3952 then FR 4024 at Lisbon
Manchester → Lisbon → Krakow
Timetable, Lisbon time
20:55FR 3952 from Manchester at the gate
17:05FR 4024 to Krakow leaves the gate
20 h 10 apart on the timetable, overnight
FR 4024 leaves 20 h 10 after FR 3952 arrives on the timetable: more than half a day, so not a connection we count.