JA 5123 then TK 8466 at Bogotá
Medellín → Bogota → Madrid
Timetable, Bogota time
23:00JA 5123 from Medellín at the gate
21:50TK 8466 to Madrid leaves the gate
22 h 50 apart on the timetable, overnight
TK 8466 leaves 22 h 50 after JA 5123 arrives on the timetable: more than half a day, so not a connection we count.