FR 6723 then LA 1718 at Madrid
Marrakesh → Madrid → Valencia
Timetable, Madrid time
22:15FR 6723 from Marrakesh at the gate
16:05LA 1718 to Valencia leaves the gatealso AT 5440
17 h 50 apart on the timetable, overnight
LA 1718 leaves 17 h 50 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.