AV 9887 then AV 26 at Bogotá
Quito → Bogota → Madrid
Timetable, Bogota time
05:35AV 9887 from Quito at the gate
14:35AV 26 to Madrid leaves the gate
9 h apart on the timetable
The last days
AV 9887 and AV 26 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.