FR 5383 then FR 7467 at Madrid
Valletta → Madrid → Tangier
Timetable, Madrid time
12:20FR 5383 from Valletta at the gate
06:45FR 7467 to Tangier leaves the gate
18 h 25 apart on the timetable, overnight
FR 7467 leaves 18 h 25 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.