E9 814 then FR 2753 at Madrid
Cancún → Madrid → Milan
Timetable, Madrid time
12:50E9 814 from Cancún at the gate
12:35FR 2753 to Milan leaves the gate
23 h 45 apart on the timetable, overnight
FR 2753 leaves 23 h 45 after E9 814 arrives on the timetable: more than half a day, so not a connection we count.