QR 3774 then FR 3039 at Barcelona
Torino → Barcelona → Prague
Timetable, Barcelona time
16:25QR 3774 from Torino at the gate
11:55FR 3039 to Prague leaves the gate
19 h 30 apart on the timetable, overnight
FR 3039 leaves 19 h 30 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.