3O 393 then NT 6015 at Madrid
Casablanca → Madrid → Gran Canaria
Timetable, Madrid time
22:053O 393 from Casablanca at the gate
16:30NT 6015 to Gran Canaria leaves the gate
18 h 25 apart on the timetable, overnight
NT 6015 leaves 18 h 25 after 3O 393 arrives on the timetable: more than half a day, so not a connection we count.