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