JA 5121 then P5 7012 at Bogotá
Medellín → Bogota → Havana
Timetable, Bogota time
10:05JA 5121 from Medellín at the gate
04:35P5 7012 to Havana leaves the gate
18 h 30 apart on the timetable, overnight
P5 7012 leaves 18 h 30 after JA 5121 arrives on the timetable: more than half a day, so not a connection we count.