IB 151 then JA 5120 at Bogotá
Madrid → Bogota → Medellín
Timetable, Bogota time
16:35IB 151 from Madrid at the gate
16:20JA 5120 to Medellín leaves the gate
23 h 45 apart on the timetable, overnight
JA 5120 leaves 23 h 45 after IB 151 arrives on the timetable: more than half a day, so not a connection we count.