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