FR 393 then EC 1294 at Madrid
Ibiza → Madrid → Geneva
Timetable, Madrid time
21:25FR 393 from Ibiza at the gate
14:30EC 1294 to Geneva leaves the gate
17 h 05 apart on the timetable, overnight
EC 1294 leaves 17 h 05 after FR 393 arrives on the timetable: more than half a day, so not a connection we count.