UX 1062 then FR 3430 at Madrid
Milan → Madrid → Agadir
Timetable, Madrid time
20:45UX 1062 from Milan at the gate
09:55FR 3430 to Agadir leaves the gate
13 h 10 apart on the timetable, overnight
FR 3430 leaves 13 h 10 after UX 1062 arrives on the timetable: more than half a day, so not a connection we count.