FR 270 then QR 3504 at Barcelona
Milan → Barcelona → Ibiza
Timetable, Barcelona time
17:55FR 270 from Milan at the gate
16:35QR 3504 to Ibiza leaves the gatealso VY 3512, QR 3572, IB 5256, LL 5256
22 h 40 apart on the timetable, overnight
QR 3504 leaves 22 h 40 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.