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