QR 3704 then LA 5749 at Barcelona
Bari → Barcelona → Bari
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
11:40LA 5749 to Bari leaves the gate
18 h 50 apart on the timetable, overnight
LA 5749 leaves 18 h 50 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.