IB 5987 then QR 4704 at Barcelona
Cairo → Barcelona → Marrakesh
Timetable, Barcelona time
03:25IB 5987 from Cairo at the gatealso LL 5987, VY 8591
18:45QR 4704 to Marrakesh leaves the gate
15 h 20 apart on the timetable
QR 4704 leaves 15 h 20 after IB 5987 arrives on the timetable: more than half a day, so not a connection we count.