IB 5389 then OS 406 at Barcelona
Bari → Barcelona → Vienna
Timetable, Barcelona time
23:20IB 5389 from Bari at the gatealso LL 5389, VY 6113
20:30OS 406 to Vienna leaves the gate
21 h 10 apart on the timetable, overnight
OS 406 leaves 21 h 10 after IB 5389 arrives on the timetable: more than half a day, so not a connection we count.