AM 21 then FR 2015 at Madrid
Mexico City → Madrid → Lanzarote
Timetable, Madrid time
15:40AM 21 from Mexico City at the gate
14:20FR 2015 to Lanzarote leaves the gate
22 h 40 apart on the timetable, overnight
FR 2015 leaves 22 h 40 after AM 21 arrives on the timetable: more than half a day, so not a connection we count.