EC 1703 then FR 2389 at Madrid
Nice → Madrid → Tetouan
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
14:05FR 2389 to Tetouan leaves the gate
17 h 25 apart on the timetable, overnight
FR 2389 leaves 17 h 25 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.