FR 2240 then FR 6394 at Barcelona
Marrakesh → Barcelona → Dublin
Timetable, Barcelona time
12:05FR 2240 from Marrakesh at the gate
10:30FR 6394 to Dublin leaves the gate
22 h 25 apart on the timetable, overnight
FR 6394 leaves 22 h 25 after FR 2240 arrives on the timetable: more than half a day, so not a connection we count.