3O 373 then QR 4704 at Barcelona
Casablanca → Barcelona → Marrakesh
Timetable, Barcelona time
21:203O 373 from Casablanca at the gate
18:45QR 4704 to Marrakesh leaves the gate
21 h 25 apart on the timetable, overnight
QR 4704 leaves 21 h 25 after 3O 373 arrives on the timetable: more than half a day, so not a connection we count.