FR 3994 then FR 812 at Dublin
Agadir → Dublin → Edinburgh
Timetable, Dublin time
18:15FR 3994 from Agadir at the gate
08:00FR 812 to Edinburgh leaves the gate
13 h 45 apart on the timetable, overnight
FR 812 leaves 13 h 45 after FR 3994 arrives on the timetable: more than half a day, so not a connection we count.