QR 3784 then LA 5780 at Barcelona
Marrakesh → Barcelona → Gran Canaria
Timetable, Barcelona time
22:45QR 3784 from Marrakesh at the gate
12:00LA 5780 to Gran Canaria leaves the gate
13 h 15 apart on the timetable, overnight
LA 5780 leaves 13 h 15 after QR 3784 arrives on the timetable: more than half a day, so not a connection we count.