FR 5383 then IB 1851 at Madrid
Valletta → Madrid → Marrakesh
Timetable, Madrid time
20:05FR 5383 from Valletta at the gate
10:15IB 1851 to Marrakesh leaves the gatealso VY 5278, BA 7116, QR 8019, AA 8647
14 h 10 apart on the timetable, overnight
IB 1851 leaves 14 h 10 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.