IB 5421 then QR 4707 at Barcelona
London Gatwick → Barcelona → Marrakesh
Timetable, Barcelona time
23:55IB 5421 from London Gatwick at the gatealso LL 5421, VY 7625, BA 8079
20:10QR 4707 to Marrakesh leaves the gate
20 h 15 apart on the timetable, overnight
QR 4707 leaves 20 h 15 after IB 5421 arrives on the timetable: more than half a day, so not a connection we count.