EI 592 then AA 8855 at Madrid
Dublin → Madrid → Almeria
Timetable, Madrid time
09:55EI 592 from Dublin at the gate
07:35AA 8855 to Almeria leaves the gate
21 h 40 apart on the timetable, overnight
AA 8855 leaves 21 h 40 after EI 592 arrives on the timetable: more than half a day, so not a connection we count.