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