FR 5898 then AM 20 at Madrid
Torino → Madrid → Mexico City
Timetable, Madrid time
17:35FR 5898 from Torino at the gate
13:30AM 20 to Mexico City leaves the gate
19 h 55 apart on the timetable, overnight
AM 20 leaves 19 h 55 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.