EC 4389 then FR 2389 at Madrid
Lyon → Madrid → Tetouan
Timetable, Madrid time
17:00EC 4389 from Lyon at the gate
15:25FR 2389 to Tetouan leaves the gate
22 h 25 apart on the timetable, overnight
FR 2389 leaves 22 h 25 after EC 4389 arrives on the timetable: more than half a day, so not a connection we count.