JA 5184 then IB 156 at Bogotá
Santa Marta → Bogota → Madrid
Timetable, Bogota time
15:15JA 5184 from Santa Marta at the gate
14:00IB 156 to Madrid leaves the gate
22 h 45 apart on the timetable, overnight
IB 156 leaves 22 h 45 after JA 5184 arrives on the timetable: more than half a day, so not a connection we count.