AT 717 then AT 246 at Casablanca
Nantes → Casablanca → Dubai
Timetable, Casablanca time
13:25AT 717 from Nantes at the gate
01:30AT 246 to Dubai leaves the gate
12 h 05 apart on the timetable, overnight
AT 246 leaves 12 h 05 after AT 717 arrives on the timetable: more than half a day, so not a connection we count.