FR 2761 then IB 681 at Madrid
Bari → Madrid → Venezia
Timetable, Madrid time
18:45FR 2761 from Bari at the gate
16:25IB 681 to Venezia leaves the gatealso LA 1652, VY 5110, QR 6994, AA 8806
21 h 40 apart on the timetable, overnight
IB 681 leaves 21 h 40 after FR 2761 arrives on the timetable: more than half a day, so not a connection we count.