QR 3774 then VY 1204 at Barcelona
Torino → Barcelona → Santander
Timetable, Barcelona time
16:25QR 3774 from Torino at the gatealso IB 5811, LL 5811, VY 6129
15:55VY 1204 to Santander leaves the gatealso IB 5378, LL 5378
23 h 30 apart on the timetable, overnight
VY 1204 leaves 23 h 30 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.