FR 3429 then FR 5993 at Madrid
Agadir → Madrid → London Stansted
Timetable, Madrid time
20:50FR 3429 from Agadir at the gate
20:20FR 5993 to London Stansted leaves the gate
23 h 30 apart on the timetable, overnight
FR 5993 leaves 23 h 30 after FR 3429 arrives on the timetable: more than half a day, so not a connection we count.