GateConnections

FR 3877 then FR 5897 at Madrid

Tangier → Madrid → Torino

Timetable, Madrid time

17:25FR 3877 from Tangier at the gate

12:50FR 5897 to Torino leaves the gate

19 h 25 apart on the timetable, overnight

FR 5897 leaves 19 h 25 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.