UX 5434 then EY 2614 at Madrid
Málaga → Madrid → Bogota
Timetable, Madrid time
15:40UX 5434 from Málaga at the gatealso AD 6917
08:10EY 2614 to Bogota leaves the gatealso CA 5313, TK 8475
16 h 30 apart on the timetable, overnight
EY 2614 leaves 16 h 30 after UX 5434 arrives on the timetable: more than half a day, so not a connection we count.