JA 5625 then IB 152 at Bogotá
Bucaramanga → Bogota → Madrid
Timetable, Bogota time
22:35JA 5625 from Bucaramanga at the gate
18:15IB 152 to Madrid leaves the gate
19 h 40 apart on the timetable, overnight
IB 152 leaves 19 h 40 after JA 5625 arrives on the timetable: more than half a day, so not a connection we count.