IB 138 then ME 4003 at Madrid
Quito → Madrid → Barcelona
Timetable, Madrid time
17:20IB 138 from Quito at the gate
15:15ME 4003 to Barcelona leaves the gatealso EY 4366, MU 4968, SV 6027, KU 6082, KE 6653, DL 6771, AM 6808, SK 8366
21 h 55 apart on the timetable, overnight
ME 4003 leaves 21 h 55 after IB 138 arrives on the timetable: more than half a day, so not a connection we count.