UX 7701 then QR 3544 at Barcelona
Madrid → Barcelona → Ibiza
Timetable, Barcelona time
08:55UX 7701 from Madrid at the gate
07:25QR 3544 to Ibiza leaves the gate
22 h 30 apart on the timetable, overnight
QR 3544 leaves 22 h 30 after UX 7701 arrives on the timetable: more than half a day, so not a connection we count.