BA 8065 then QR 3774 at Barcelona
London Gatwick → Barcelona → Marrakesh
Timetable, Barcelona time
17:40BA 8065 from London Gatwick at the gate
17:10QR 3774 to Marrakesh leaves the gate
23 h 30 apart on the timetable, overnight
QR 3774 leaves 23 h 30 after BA 8065 arrives on the timetable: more than half a day, so not a connection we count.