P5 7287 then IB 154 at Bogotá
Santa Marta → Bogota → Madrid
Timetable, Bogota time
23:30P5 7287 from Santa Marta at the gate
22:35IB 154 to Madrid leaves the gate
23 h 05 apart on the timetable, overnight
IB 154 leaves 23 h 05 after P5 7287 arrives on the timetable: more than half a day, so not a connection we count.