AA 8762 then 3O 394 at Madrid
Valencia → Madrid → Casablanca
Timetable, Madrid time
07:10AA 8762 from Valencia at the gate
23:103O 394 to Casablanca leaves the gate
16 h apart on the timetable
3O 394 leaves 16 h after AA 8762 arrives on the timetable: more than half a day, so not a connection we count.