EC 1293 then FR 2389 at Madrid
Geneva → Madrid → Tetouan
Timetable, Madrid time
19:50EC 1293 from Geneva at the gate
14:05FR 2389 to Tetouan leaves the gate
18 h 15 apart on the timetable, overnight
FR 2389 leaves 18 h 15 after EC 1293 arrives on the timetable: more than half a day, so not a connection we count.