IB 5389 then TP 1037 at Barcelona
Bari → Barcelona → Lisbon
Timetable, Barcelona time
23:25IB 5389 from Bari at the gatealso LL 5389, VY 6113
18:05TP 1037 to Lisbon leaves the gate
18 h 40 apart on the timetable, overnight
TP 1037 leaves 18 h 40 after IB 5389 arrives on the timetable: more than half a day, so not a connection we count.