VY 1010 then FR 2066 at Madrid
Barcelona → Madrid → Ibiza
Timetable, Madrid time
08:45VY 1010 from Barcelona at the gate
20:55FR 2066 to Ibiza leaves the gate
12 h 10 apart on the timetable
FR 2066 leaves 12 h 10 after VY 1010 arrives on the timetable: more than half a day, so not a connection we count.