QR 3774 then VY 1130 at Barcelona
Torino → Barcelona → Hamburg
Timetable, Barcelona time
20:25QR 3774 from Torino at the gatealso IB 5811, LL 5811, VY 6129
17:45VY 1130 to Hamburg leaves the gatealso IB 5074, LL 5074
21 h 20 apart on the timetable, overnight
VY 1130 leaves 21 h 20 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.