UX 1042 then IB 633 at Madrid
Rome → Madrid → Zurich
Timetable, Madrid time
20:35UX 1042 from Rome at the gate
20:00IB 633 to Zurich leaves the gate
23 h 25 apart on the timetable, overnight
IB 633 leaves 23 h 25 after UX 1042 arrives on the timetable: more than half a day, so not a connection we count.