FR 163 then FR 814 at Dublin
Rabat → Dublin → Edinburgh
Timetable, Dublin time
17:30FR 163 from Rabat at the gate
05:55FR 814 to Edinburgh leaves the gate
12 h 25 apart on the timetable, overnight
FR 814 leaves 12 h 25 after FR 163 arrives on the timetable: more than half a day, so not a connection we count.