AT 682 then FR 5995 at Madrid
Tangier → Madrid → London Stansted
Timetable, Madrid time
11:25AT 682 from Tangier at the gate
10:20FR 5995 to London Stansted leaves the gate
22 h 55 apart on the timetable, overnight
FR 5995 leaves 22 h 55 after AT 682 arrives on the timetable: more than half a day, so not a connection we count.