FR 4023 then TP 1272 at Lisbon
Krakow → Lisbon → Vienna
Timetable, Lisbon time
17:45FR 4023 from Krakow at the gate
14:15TP 1272 to Vienna leaves the gate
20 h 30 apart on the timetable, overnight
TP 1272 leaves 20 h 30 after FR 4023 arrives on the timetable: more than half a day, so not a connection we count.