FR 3008 then W4 6832 at Madrid
Milan → Madrid → Torino
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
13:10W4 6832 to Torino leaves the gate
17 h 20 apart on the timetable, overnight
W4 6832 leaves 17 h 20 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.