3O 397 then QR 3544 at Barcelona
Rabat → Barcelona → Ibiza
Timetable, Barcelona time
08:003O 397 from Rabat at the gate
07:25QR 3544 to Ibiza leaves the gate
23 h 25 apart on the timetable, overnight
QR 3544 leaves 23 h 25 after 3O 397 arrives on the timetable: more than half a day, so not a connection we count.