FR 5930 then FR 5444 at Madrid
Fes → Madrid → Beauvais
Timetable, Madrid time
18:20FR 5930 from Fes at the gate
14:10FR 5444 to Beauvais leaves the gate
19 h 50 apart on the timetable, overnight
FR 5444 leaves 19 h 50 after FR 5930 arrives on the timetable: more than half a day, so not a connection we count.