LA 4905 then JA 5131 at Bogotá
Lima → Bogota → Medellín
Timetable, Bogota time
23:40LA 4905 from Lima at the gate
22:55JA 5131 to Medellín leaves the gate
23 h 15 apart on the timetable, overnight
JA 5131 leaves 23 h 15 after LA 4905 arrives on the timetable: more than half a day, so not a connection we count.