QR 3784 then IB 5402 at Barcelona
Marrakesh → Barcelona → London Gatwick
Timetable, Barcelona time
22:45QR 3784 from Marrakesh at the gatealso VY 8511
11:00IB 5402 to London Gatwick leaves the gatealso LL 5402, VY 7606
12 h 15 apart on the timetable, overnight
IB 5402 leaves 12 h 15 after QR 3784 arrives on the timetable: more than half a day, so not a connection we count.