FR 6974 then IB 5246 at Barcelona
Rome → Barcelona → Ibiza
Timetable, Barcelona time
22:25FR 6974 from Rome at the gate
11:05IB 5246 to Ibiza leaves the gate
12 h 40 apart on the timetable, overnight
IB 5246 leaves 12 h 40 after FR 6974 arrives on the timetable: more than half a day, so not a connection we count.