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