FR 2527 then UX 9164 at Madrid
Berlin → Madrid → Gran Canaria
Timetable, Madrid time
23:10FR 2527 from Berlin at the gate
15:05UX 9164 to Gran Canaria leaves the gate
15 h 55 apart on the timetable, overnight
UX 9164 leaves 15 h 55 after FR 2527 arrives on the timetable: more than half a day, so not a connection we count.