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