JA 5161 then LA 4026 at Bogotá
Cartagena → Bogota → Medellín
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
21:45LA 4026 to Medellín leaves the gate
22 h 30 apart on the timetable, overnight
LA 4026 leaves 22 h 30 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.