FR 574 then QR 3504 at Barcelona
Bologna → Barcelona → Ibiza
Timetable, Barcelona time
20:15FR 574 from Bologna at the gate
16:35QR 3504 to Ibiza leaves the gate
20 h 20 apart on the timetable, overnight
QR 3504 leaves 20 h 20 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.