IB 151 then JA 5156 at Bogotá
Madrid → Bogota → Cartagena
Timetable, Bogota time
16:35IB 151 from Madrid at the gate
14:30JA 5156 to Cartagena leaves the gate
21 h 55 apart on the timetable, overnight
JA 5156 leaves 21 h 55 after IB 151 arrives on the timetable: more than half a day, so not a connection we count.