AM 1 then AA 8855 at Madrid
Mexico City → Madrid → Almeria
Timetable, Madrid time
11:30AM 1 from Mexico City at the gate
07:35AA 8855 to Almeria leaves the gate
20 h 05 apart on the timetable, overnight
AA 8855 leaves 20 h 05 after AM 1 arrives on the timetable: more than half a day, so not a connection we count.