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