FR 3994 then FR 7799 at Dublin
Agadir → Dublin → Milan
Timetable, Dublin time
18:15FR 3994 from Agadir at the gate
17:55FR 7799 to Milan leaves the gate
23 h 40 apart on the timetable, overnight
FR 7799 leaves 23 h 40 after FR 3994 arrives on the timetable: more than half a day, so not a connection we count.