FR 287 then FR 3995 at Dublin
London Stansted → Dublin → Agadir
Timetable, Dublin time
21:30FR 287 from London Stansted at the gate
18:40FR 3995 to Agadir leaves the gate
21 h 10 apart on the timetable, overnight
FR 3995 leaves 21 h 10 after FR 287 arrives on the timetable: more than half a day, so not a connection we count.