FR 268 then FR 6608 at Madrid
Valletta → Madrid → Rabat
Timetable, Madrid time
19:20FR 268 from Valletta at the gate
13:20FR 6608 to Rabat leaves the gate
18 h apart on the timetable, overnight
FR 6608 leaves 18 h after FR 268 arrives on the timetable: more than half a day, so not a connection we count.