FR 270 then QR 3503 at Barcelona
Milan → Barcelona → Ibiza
Timetable, Barcelona time
17:55FR 270 from Milan at the gate
14:55QR 3503 to Ibiza leaves the gate
21 h apart on the timetable, overnight
QR 3503 leaves 21 h after FR 270 arrives on the timetable: more than half a day, so not a connection we count.