FR 6342 then FR 3174 at Barcelona
Rome → Barcelona → Ibiza
Timetable, Barcelona time
17:30FR 6342 from Rome at the gate
07:55FR 3174 to Ibiza leaves the gate
14 h 25 apart on the timetable, overnight
FR 3174 leaves 14 h 25 after FR 6342 arrives on the timetable: more than half a day, so not a connection we count.