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