FR 2390 then EC 1294 at Madrid
Tetouan → Madrid → Geneva
Timetable, Madrid time
16:40FR 2390 from Tetouan at the gate
14:30EC 1294 to Geneva leaves the gate
21 h 50 apart on the timetable, overnight
EC 1294 leaves 21 h 50 after FR 2390 arrives on the timetable: more than half a day, so not a connection we count.