UX 1140 then FR 7467 at Madrid
Porto → Madrid → Tangier
Timetable, Madrid time
18:15UX 1140 from Porto at the gatealso AM 6853, EY 7521, AD 7870
10:50FR 7467 to Tangier leaves the gate
16 h 35 apart on the timetable, overnight
FR 7467 leaves 16 h 35 after UX 1140 arrives on the timetable: more than half a day, so not a connection we count.