IB 138 then FR 2528 at Madrid
Quito → Madrid → Berlin
Timetable, Madrid time
11:40IB 138 from Quito at the gatealso BA 4205, LA 5426, QR 6532, CZ 7333
05:50FR 2528 to Berlin leaves the gate
18 h 10 apart on the timetable, overnight
FR 2528 leaves 18 h 10 after IB 138 arrives on the timetable: more than half a day, so not a connection we count.