FR 6723 then EW 3181 at Madrid
Marrakesh → Madrid → Prague
Timetable, Madrid time
22:15FR 6723 from Marrakesh at the gate
13:55EW 3181 to Prague leaves the gate
15 h 40 apart on the timetable, overnight
EW 3181 leaves 15 h 40 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.