FR 6722 then AV 6204 at Madrid
Marrakesh → Madrid → Rome
Timetable, Madrid time
19:50FR 6722 from Marrakesh at the gate
18:00AV 6204 to Rome leaves the gate
22 h 10 apart on the timetable, overnight
AV 6204 leaves 22 h 10 after FR 6722 arrives on the timetable: more than half a day, so not a connection we count.