IB 5389 then IB 5092 at Barcelona
Bari → Barcelona → Porto
Timetable, Barcelona time
23:20IB 5389 from Bari at the gatealso LL 5389, VY 6113
13:00IB 5092 to Porto leaves the gate
13 h 40 apart on the timetable, overnight
IB 5092 leaves 13 h 40 after IB 5389 arrives on the timetable: more than half a day, so not a connection we count.