FR 4596 then QR 4702 at Barcelona
Porto → Barcelona → Ibiza
Timetable, Barcelona time
00:50FR 4596 from Porto at the gate
22:00QR 4702 to Ibiza leaves the gate
21 h 10 apart on the timetable
QR 4702 leaves 21 h 10 after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.