UX 1042 then NT 6005 at Madrid
Rome → Madrid → Gran Canaria
Timetable, Madrid time
20:35UX 1042 from Rome at the gate
20:20NT 6005 to Gran Canaria leaves the gate
23 h 45 apart on the timetable, overnight
NT 6005 leaves 23 h 45 after UX 1042 arrives on the timetable: more than half a day, so not a connection we count.