IB 5389 then TP 1035 at Barcelona
Bari → Barcelona → Lisbon
Timetable, Barcelona time
23:25IB 5389 from Bari at the gatealso LL 5389, VY 6113
14:35TP 1035 to Lisbon leaves the gatealso S4 4897, LY 9003
15 h 10 apart on the timetable, overnight
TP 1035 leaves 15 h 10 after IB 5389 arrives on the timetable: more than half a day, so not a connection we count.