W4 3763 then FR 5897 at Madrid
Craiova → Madrid → Torino
Timetable, Madrid time
08:25W4 3763 from Craiova at the gate
05:45FR 5897 to Torino leaves the gate
21 h 20 apart on the timetable, overnight
FR 5897 leaves 21 h 20 after W4 3763 arrives on the timetable: more than half a day, so not a connection we count.