EC 7174 then IB 5388 at Barcelona
Berlin → Barcelona → Bari
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
13:25IB 5388 to Bari leaves the gatealso LL 5388, VY 6112
14 h 20 apart on the timetable, overnight
IB 5388 leaves 14 h 20 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.