LL 5107 then LA 5749 at Barcelona
Prague → Barcelona → Bari
Timetable, Barcelona time
13:15LL 5107 from Prague at the gate
11:40LA 5749 to Bari leaves the gate
22 h 25 apart on the timetable, overnight
LA 5749 leaves 22 h 25 after LL 5107 arrives on the timetable: more than half a day, so not a connection we count.