FR 5445 then FR 6721 at Madrid
Beauvais → Madrid → Marrakesh
Timetable, Madrid time
18:05FR 5445 from Beauvais at the gate
17:45FR 6721 to Marrakesh leaves the gate
23 h 40 apart on the timetable, overnight
FR 6721 leaves 23 h 40 after FR 5445 arrives on the timetable: more than half a day, so not a connection we count.