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