FR 6266 then LA 5775 at Barcelona
Edinburgh → Barcelona → Ibiza
Timetable, Barcelona time
16:50FR 6266 from Edinburgh at the gate
13:55LA 5775 to Ibiza leaves the gate
21 h 05 apart on the timetable, overnight
LA 5775 leaves 21 h 05 after FR 6266 arrives on the timetable: more than half a day, so not a connection we count.