EC 3749 then FR 3129 at Barcelona
Milan → Barcelona → Ibiza
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
21:10FR 3129 to Ibiza leaves the gate
23 h 40 apart on the timetable, overnight
FR 3129 leaves 23 h 40 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.