QR 3774 then VY 3506 at Barcelona
Torino → Barcelona → Ibiza
Timetable, Barcelona time
16:25QR 3774 from Torino at the gatealso IB 5811, LL 5811, VY 6129
14:25VY 3506 to Ibiza leaves the gatealso IB 5250, LL 5250
22 h apart on the timetable, overnight
VY 3506 leaves 22 h after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.