PU 502 then UX 9164 at Madrid
Buenos Aires → Madrid → Gran Canaria
Timetable, Madrid time
15:45PU 502 from Buenos Aires at the gate
15:05UX 9164 to Gran Canaria leaves the gate
23 h 20 apart on the timetable, overnight
UX 9164 leaves 23 h 20 after PU 502 arrives on the timetable: more than half a day, so not a connection we count.