FR 775 then IB 5250 at Barcelona
Torino → Barcelona → Ibiza
Timetable, Barcelona time
17:20FR 775 from Torino at the gate
14:25IB 5250 to Ibiza leaves the gate
21 h 05 apart on the timetable, overnight
IB 5250 leaves 21 h 05 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.