IB 138 then RJ 110 at Madrid
Quito → Madrid → Amman
Timetable, Madrid time
17:20IB 138 from Quito at the gate
15:05RJ 110 to Amman leaves the gatealso IB 7872
21 h 45 apart on the timetable, overnight
RJ 110 leaves 21 h 45 after IB 138 arrives on the timetable: more than half a day, so not a connection we count.