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