AA 264 then LA 2695 at Miami
Mexico City → Miami → Lima
Timetable, Miami time
17:02AA 264 from Mexico City at the gate
16:45LA 2695 to Lima leaves the gate
23 h 43 apart on the timetable, overnight
LA 2695 leaves 23 h 43 after AA 264 arrives on the timetable: more than half a day, so not a connection we count.