FR 3977 then QR 4704 at Barcelona
Dublin → Barcelona → Marrakesh
Timetable, Barcelona time
22:55FR 3977 from Dublin at the gate
18:45QR 4704 to Marrakesh leaves the gatealso IB 5960
19 h 50 apart on the timetable, overnight
QR 4704 leaves 19 h 50 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.