UX 1066 then FR 3876 at Madrid
Milan → Madrid → Tangier
Timetable, Madrid time
12:45UX 1066 from Milan at the gatealso ET 1422, EY 4371, AM 6850, AD 7892
06:10FR 3876 to Tangier leaves the gate
17 h 25 apart on the timetable, overnight
FR 3876 leaves 17 h 25 after UX 1066 arrives on the timetable: more than half a day, so not a connection we count.