FR 9654 then FR 4390 at Lisbon
Valletta → Lisbon → Marrakesh
Timetable, Lisbon time
14:00FR 9654 from Valletta at the gate
13:20FR 4390 to Marrakesh leaves the gate
23 h 20 apart on the timetable, overnight
FR 4390 leaves 23 h 20 after FR 9654 arrives on the timetable: more than half a day, so not a connection we count.