EC 1703 then IB 617 at Madrid
Nice → Madrid → Geneva
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
15:55IB 617 to Geneva leaves the gate
19 h 15 apart on the timetable, overnight
IB 617 leaves 19 h 15 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.