IB 52 then LA 1581 at Madrid
Málaga → Madrid → Bogota
Timetable, Madrid time
13:15IB 52 from Málaga at the gate
12:10LA 1581 to Bogota leaves the gatealso BA 4231, QR 5050, LY 9205
22 h 55 apart on the timetable, overnight
LA 1581 leaves 22 h 55 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.