TP 1013 then EW 603 at Lisbon
Madrid → Lisbon → Cologne
Timetable, Lisbon time
12:35TP 1013 from Madrid at the gate
10:45EW 603 to Cologne leaves the gate
22 h 10 apart on the timetable, overnight
EW 603 leaves 22 h 10 after TP 1013 arrives on the timetable: more than half a day, so not a connection we count.