AZ 74 then FR 2239 at Barcelona
Rome → Barcelona → Marrakesh
Timetable, Barcelona time
10:50AZ 74 from Rome at the gate
06:40FR 2239 to Marrakesh leaves the gate
19 h 50 apart on the timetable, overnight
FR 2239 leaves 19 h 50 after AZ 74 arrives on the timetable: more than half a day, so not a connection we count.