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