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