FR 9840 then TP 1454 at Lisbon
Cologne → Lisbon → Marrakesh
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
13:20TP 1454 to Marrakesh leaves the gate
13 h 50 apart on the timetable, overnight
TP 1454 leaves 13 h 50 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.