UX 9018 then FR 2528 at Madrid
Gran Canaria → Madrid → Berlin
Timetable, Madrid time
09:55UX 9018 from Gran Canaria at the gate
06:40FR 2528 to Berlin leaves the gate
20 h 45 apart on the timetable, overnight
FR 2528 leaves 20 h 45 after UX 9018 arrives on the timetable: more than half a day, so not a connection we count.