FR 775 then QR 3503 at Barcelona
Torino → Barcelona → Ibiza
Timetable, Barcelona time
20:00FR 775 from Torino at the gate
14:55QR 3503 to Ibiza leaves the gate
18 h 55 apart on the timetable, overnight
QR 3503 leaves 18 h 55 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.