AV 50 then AR 8916 at Bogotá
Lima → Bogota → Medellín
Timetable, Bogota time
15:00AV 50 from Lima at the gate
13:35AR 8916 to Medellín leaves the gate
22 h 35 apart on the timetable, overnight
AR 8916 leaves 22 h 35 after AV 50 arrives on the timetable: more than half a day, so not a connection we count.