QR 3742 then LA 5749 at Barcelona
Milan → Barcelona → Bari
Timetable, Barcelona time
12:00QR 3742 from Milan at the gatealso IB 5353, LL 5353, VY 6041
11:40LA 5749 to Bari leaves the gate
23 h 40 apart on the timetable, overnight
LA 5749 leaves 23 h 40 after QR 3742 arrives on the timetable: more than half a day, so not a connection we count.