QR 3772 then QR 3544 at Barcelona
Basel → Barcelona → Ibiza
Timetable, Barcelona time
13:05QR 3772 from Basel at the gate
07:50QR 3544 to Ibiza leaves the gate
18 h 45 apart on the timetable, overnight
QR 3544 leaves 18 h 45 after QR 3772 arrives on the timetable: more than half a day, so not a connection we count.