VY 1010 then FR 5897 at Madrid
Barcelona → Madrid → Torino
Timetable, Madrid time
09:45VY 1010 from Barcelona at the gate
08:00FR 5897 to Torino leaves the gate
22 h 15 apart on the timetable, overnight
FR 5897 leaves 22 h 15 after VY 1010 arrives on the timetable: more than half a day, so not a connection we count.