EC 1703 then CA 5301 at Madrid
Nice → Madrid → Bogota
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
16:20CA 5301 to Bogota leaves the gate
19 h 40 apart on the timetable, overnight
CA 5301 leaves 19 h 40 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.