FR 3187 then FR 5931 at Madrid
Manchester → Madrid → Fes
Timetable, Madrid time
22:25FR 3187 from Manchester at the gate
14:45FR 5931 to Fes leaves the gate
16 h 20 apart on the timetable, overnight
FR 5931 leaves 16 h 20 after FR 3187 arrives on the timetable: more than half a day, so not a connection we count.