IB 1458 then FR 1206 at Madrid
Trieste → Madrid → Venezia
Timetable, Madrid time
17:05IB 1458 from Trieste at the gate
10:20FR 1206 to Venezia leaves the gate
17 h 15 apart on the timetable, overnight
FR 1206 leaves 17 h 15 after IB 1458 arrives on the timetable: more than half a day, so not a connection we count.