QR 3704 then LA 5768 at Barcelona
Bari → Barcelona → Ibiza
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
12:10LA 5768 to Ibiza leaves the gate
19 h 20 apart on the timetable, overnight
LA 5768 leaves 19 h 20 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.