FR 5055 then FR 6612 at Madrid
Luxembourg → Madrid → Rabat
Timetable, Madrid time
18:05FR 5055 from Luxembourg at the gate
17:10FR 6612 to Rabat leaves the gate
23 h 05 apart on the timetable, overnight
FR 6612 leaves 23 h 05 after FR 5055 arrives on the timetable: more than half a day, so not a connection we count.