AV 27 then JA 5112 at Bogotá
Madrid → Bogota → Medellín
Timetable, Bogota time
12:30AV 27 from Madrid at the gate
05:00JA 5112 to Medellín leaves the gate
16 h 30 apart on the timetable, overnight
JA 5112 leaves 16 h 30 after AV 27 arrives on the timetable: more than half a day, so not a connection we count.