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