IB 648 then EC 1294 at Madrid
Rome → Madrid → Geneva
Timetable, Madrid time
14:35IB 648 from Rome at the gate
14:30EC 1294 to Geneva leaves the gate
23 h 55 apart on the timetable, overnight
EC 1294 leaves 23 h 55 after IB 648 arrives on the timetable: more than half a day, so not a connection we count.