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