EC 7102 then IB 5250 at Barcelona
Basel → Barcelona → Ibiza
Timetable, Barcelona time
14:40EC 7102 from Basel at the gate
14:25IB 5250 to Ibiza leaves the gate
23 h 45 apart on the timetable, overnight
IB 5250 leaves 23 h 45 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.