FR 157 then FR 3995 at Dublin
Leeds → Dublin → Agadir
Timetable, Dublin time
21:55FR 157 from Leeds at the gate
18:40FR 3995 to Agadir leaves the gate
20 h 45 apart on the timetable, overnight
FR 3995 leaves 20 h 45 after FR 157 arrives on the timetable: more than half a day, so not a connection we count.