EC 7102 then IB 5246 at Barcelona
Basel → Barcelona → Ibiza
Timetable, Barcelona time
14:40EC 7102 from Basel at the gate
12:10IB 5246 to Ibiza leaves the gatealso LA 5768
21 h 30 apart on the timetable, overnight
IB 5246 leaves 21 h 30 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.