AV 9394 then JA 5124 at Bogotá
Pasto → Bogota → Medellín
Timetable, Bogota time
17:50AV 9394 from Pasto at the gate
16:25JA 5124 to Medellín leaves the gate
22 h 35 apart on the timetable, overnight
JA 5124 leaves 22 h 35 after AV 9394 arrives on the timetable: more than half a day, so not a connection we count.