QR 3692 then FR 774 at Barcelona
Rome → Barcelona → Torino
Timetable, Barcelona time
17:05QR 3692 from Rome at the gate
13:55FR 774 to Torino leaves the gate
20 h 50 apart on the timetable, overnight
FR 774 leaves 20 h 50 after QR 3692 arrives on the timetable: more than half a day, so not a connection we count.