FR 3077 then VY 8510 at Barcelona
Stockholm → Barcelona → Marrakesh
Timetable, Barcelona time
19:50FR 3077 from Stockholm at the gate
18:45VY 8510 to Marrakesh leaves the gate
22 h 55 apart on the timetable, overnight
VY 8510 leaves 22 h 55 after FR 3077 arrives on the timetable: more than half a day, so not a connection we count.