VY 8513 then FR 4587 at Barcelona
Marrakesh → Barcelona → Porto
Timetable, Barcelona time
11:35VY 8513 from Marrakesh at the gate
09:50FR 4587 to Porto leaves the gate
22 h 15 apart on the timetable, overnight
FR 4587 leaves 22 h 15 after VY 8513 arrives on the timetable: more than half a day, so not a connection we count.