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