FR 3181 then QR 3544 at Barcelona
Rome → Barcelona → Ibiza
Timetable, Barcelona time
12:15FR 3181 from Rome at the gate
07:25QR 3544 to Ibiza leaves the gate
19 h 10 apart on the timetable, overnight
QR 3544 leaves 19 h 10 after FR 3181 arrives on the timetable: more than half a day, so not a connection we count.