FR 6974 then QR 3504 at Barcelona
Rome → Barcelona → Ibiza
Timetable, Barcelona time
22:25FR 6974 from Rome at the gate
16:35QR 3504 to Ibiza leaves the gatealso VY 3512, QR 3572, IB 5256, LL 5256
18 h 10 apart on the timetable, overnight
QR 3504 leaves 18 h 10 after FR 6974 arrives on the timetable: more than half a day, so not a connection we count.