FR 10 then FR 6608 at Madrid
Dublin → Madrid → Rabat
Timetable, Madrid time
22:35FR 10 from Dublin at the gate
13:20FR 6608 to Rabat leaves the gate
14 h 45 apart on the timetable, overnight
FR 6608 leaves 14 h 45 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.