IB 798 then FR 2760 at Madrid
Vienna → Madrid → Bari
Timetable, Madrid time
10:15IB 798 from Vienna at the gatealso LA 1782, VY 5123, AT 5496, AA 8596
08:25FR 2760 to Bari leaves the gate
22 h 10 apart on the timetable, overnight
FR 2760 leaves 22 h 10 after IB 798 arrives on the timetable: more than half a day, so not a connection we count.