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