QR 3774 then LA 5787 at Barcelona
Torino → Barcelona → Prague
Timetable, Barcelona time
20:25QR 3774 from Torino at the gatealso IB 5811, LL 5811, VY 6129
18:25LA 5787 to Prague leaves the gate
22 h apart on the timetable, overnight
LA 5787 leaves 22 h after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.