IB 5389 then QR 4687 at Barcelona
Bari → Barcelona → Lisbon
Timetable, Barcelona time
23:20IB 5389 from Bari at the gatealso LL 5389, VY 6113
17:15QR 4687 to Lisbon leaves the gatealso IB 5076, LL 5076
17 h 55 apart on the timetable, overnight
QR 4687 leaves 17 h 55 after IB 5389 arrives on the timetable: more than half a day, so not a connection we count.