UX 92 then FR 3876 at Madrid
New York JFK → Madrid → Tangier
Timetable, Madrid time
11:10UX 92 from New York JFK at the gate
06:15FR 3876 to Tangier leaves the gate
19 h 05 apart on the timetable, overnight
FR 3876 leaves 19 h 05 after UX 92 arrives on the timetable: more than half a day, so not a connection we count.