AV 8591 then JA 5118 at Bogotá
Riohacha → Bogota → Medellín
Timetable, Bogota time
10:15AV 8591 from Riohacha at the gate
05:20JA 5118 to Medellín leaves the gate
19 h 05 apart on the timetable, overnight
JA 5118 leaves 19 h 05 after AV 8591 arrives on the timetable: more than half a day, so not a connection we count.