FR 9673 then IB 683 at Madrid
Rome → Madrid → Venezia
Timetable, Madrid time
23:30FR 9673 from Rome at the gate
21:30IB 683 to Venezia leaves the gate
22 h apart on the timetable, overnight
IB 683 leaves 22 h after FR 9673 arrives on the timetable: more than half a day, so not a connection we count.