FR 7958 then QR 3581 at Barcelona
Cork → Barcelona → Ibiza
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
18:15QR 3581 to Ibiza leaves the gatealso IB 5258, LL 5258
19 h 20 apart on the timetable, overnight
QR 3581 leaves 19 h 20 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.