JA 5173 then UX 194 at Bogotá
Santa Marta → Bogota → Madrid
Timetable, Bogota time
23:35JA 5173 from Santa Marta at the gate
21:35UX 194 to Madrid leaves the gate
22 h apart on the timetable, overnight
UX 194 leaves 22 h after JA 5173 arrives on the timetable: more than half a day, so not a connection we count.