FR 9840 then W6 1594 at Lisbon
Cologne → Lisbon → Warsaw Chopin
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
17:30W6 1594 to Warsaw Chopin leaves the gate
18 h apart on the timetable, overnight
W6 1594 leaves 18 h after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.