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