RO 415 then VY 5119 at Madrid
Bucharest → Madrid → Marrakesh
Timetable, Madrid time
12:40RO 415 from Bucharest at the gate
11:50VY 5119 to Marrakesh leaves the gatealso AT 5306, BA 7117
23 h 10 apart on the timetable, overnight
VY 5119 leaves 23 h 10 after RO 415 arrives on the timetable: more than half a day, so not a connection we count.