FR 3977 then FR 2239 at Barcelona
Dublin → Barcelona → Marrakesh
Timetable, Barcelona time
19:05FR 3977 from Dublin at the gate
12:35FR 2239 to Marrakesh leaves the gate
17 h 30 apart on the timetable, overnight
FR 2239 leaves 17 h 30 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.