IB 1040 then EC 1294 at Madrid
Mahón → Madrid → Geneva
Timetable, Madrid time
15:20IB 1040 from Mahón at the gate
14:30EC 1294 to Geneva leaves the gate
23 h 10 apart on the timetable, overnight
EC 1294 leaves 23 h 10 after IB 1040 arrives on the timetable: more than half a day, so not a connection we count.