FR 6921 then VY 8510 at Barcelona
Dublin → Barcelona → Marrakesh
Timetable, Barcelona time
21:40FR 6921 from Dublin at the gate
20:10VY 8510 to Marrakesh leaves the gate
22 h 30 apart on the timetable, overnight
VY 8510 leaves 22 h 30 after FR 6921 arrives on the timetable: more than half a day, so not a connection we count.