AV 47 then AV 2906 at Bogotá
Madrid → Bogota → Popayan
Timetable, Bogota time
05:50AV 47 from Madrid at the gate
05:30AV 2906 to Popayan leaves the gate
23 h 40 apart on the timetable, overnight
AV 2906 leaves 23 h 40 after AV 47 arrives on the timetable: more than half a day, so not a connection we count.