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