QR 3784 then VY 6008 at Barcelona
Marrakesh → Barcelona → Rome
Timetable, Barcelona time
22:45QR 3784 from Marrakesh at the gate
11:35VY 6008 to Rome leaves the gate
12 h 50 apart on the timetable, overnight
VY 6008 leaves 12 h 50 after QR 3784 arrives on the timetable: more than half a day, so not a connection we count.