FR 5300 then FR 6608 at Madrid
Luxembourg → Madrid → Rabat
Timetable, Madrid time
12:45FR 5300 from Luxembourg at the gate
06:15FR 6608 to Rabat leaves the gate
17 h 30 apart on the timetable, overnight
FR 6608 leaves 17 h 30 after FR 5300 arrives on the timetable: more than half a day, so not a connection we count.