FR 9840 then A3 723 at Lisbon
Cologne → Lisbon → Athens
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
17:10A3 723 to Athens leaves the gate
17 h 40 apart on the timetable, overnight
A3 723 leaves 17 h 40 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.