W4 6831 then FR 5301 at Madrid
Torino → Madrid → Luxembourg
Timetable, Madrid time
12:25W4 6831 from Torino at the gate
07:15FR 5301 to Luxembourg leaves the gate
18 h 50 apart on the timetable, overnight
FR 5301 leaves 18 h 50 after W4 6831 arrives on the timetable: more than half a day, so not a connection we count.