IB 151 then P5 7234 at Bogotá
Madrid → Bogota → Cartagena
Timetable, Bogota time
16:35IB 151 from Madrid at the gate
15:15P5 7234 to Cartagena leaves the gate
22 h 40 apart on the timetable, overnight
P5 7234 leaves 22 h 40 after IB 151 arrives on the timetable: more than half a day, so not a connection we count.