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