FR 7958 then FR 3185 at Barcelona
Cork → Barcelona → Rabat
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
19:25FR 3185 to Rabat leaves the gate
20 h 30 apart on the timetable, overnight
FR 3185 leaves 20 h 30 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.