AM 27 then FR 5482 at Madrid
Mexico City → Madrid → Porto
Timetable, Madrid time
05:00AM 27 from Mexico City at the gate
22:15FR 5482 to Porto leaves the gate
17 h 15 apart on the timetable
FR 5482 leaves 17 h 15 after AM 27 arrives on the timetable: more than half a day, so not a connection we count.