FR 7466 then AM 9999 at Madrid
Tangier → Madrid → Mexico City
Timetable, Madrid time
14:05FR 7466 from Tangier at the gate
11:45AM 9999 to Mexico City leaves the gate
21 h 40 apart on the timetable, overnight
AM 9999 leaves 21 h 40 after FR 7466 arrives on the timetable: more than half a day, so not a connection we count.