CA 5312 then AA 8855 at Madrid
Bogota → Madrid → Almeria
Timetable, Madrid time
08:10CA 5312 from Bogota at the gate
07:35AA 8855 to Almeria leaves the gate
23 h 25 apart on the timetable, overnight
AA 8855 leaves 23 h 25 after CA 5312 arrives on the timetable: more than half a day, so not a connection we count.