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