FR 3877 then LX 2027 at Madrid
Tangier → Madrid → Zurich
Timetable, Madrid time
17:35FR 3877 from Tangier at the gate
10:05LX 2027 to Zurich leaves the gate
16 h 30 apart on the timetable, overnight
LX 2027 leaves 16 h 30 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.