A3 700 then AA 8855 at Madrid
Athens → Madrid → Almeria
Timetable, Madrid time
12:05A3 700 from Athens at the gate
07:35AA 8855 to Almeria leaves the gate
19 h 30 apart on the timetable, overnight
AA 8855 leaves 19 h 30 after A3 700 arrives on the timetable: more than half a day, so not a connection we count.