W4 3173 then FR 9430 at Madrid
Bucharest → Madrid → Marrakesh
Timetable, Madrid time
17:50W4 3173 from Bucharest at the gate
09:30FR 9430 to Marrakesh leaves the gate
15 h 40 apart on the timetable, overnight
FR 9430 leaves 15 h 40 after W4 3173 arrives on the timetable: more than half a day, so not a connection we count.