JA 5134 then IB 152 at Bogotá
Medellín → Bogota → Madrid
Timetable, Bogota time
21:25JA 5134 from Medellín at the gate
18:15IB 152 to Madrid leaves the gate
20 h 50 apart on the timetable, overnight
IB 152 leaves 20 h 50 after JA 5134 arrives on the timetable: more than half a day, so not a connection we count.