IB 804 then AA 8855 at Madrid
Milan → Madrid → Almeria
Timetable, Madrid time
07:45IB 804 from Milan at the gatealso AA 8500
07:35AA 8855 to Almeria leaves the gate
23 h 50 apart on the timetable, overnight
AA 8855 leaves 23 h 50 after IB 804 arrives on the timetable: more than half a day, so not a connection we count.