JA 5171 then P5 7272 at Bogotá
Santa Marta → Bogota → Medellín
Timetable, Bogota time
14:35JA 5171 from Santa Marta at the gate
07:10P5 7272 to Medellín leaves the gate
16 h 35 apart on the timetable, overnight
P5 7272 leaves 16 h 35 after JA 5171 arrives on the timetable: more than half a day, so not a connection we count.