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