3O 391 then FR 498 at Madrid
Tangier → Madrid → London Stansted
Timetable, Madrid time
20:003O 391 from Tangier at the gate
10:35FR 498 to London Stansted leaves the gate
14 h 35 apart on the timetable, overnight
FR 498 leaves 14 h 35 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.