AZ 60 then FR 6608 at Madrid
Rome → Madrid → Rabat
Timetable, Madrid time
17:10AZ 60 from Rome at the gate
10:10FR 6608 to Rabat leaves the gate
17 h apart on the timetable, overnight
FR 6608 leaves 17 h after AZ 60 arrives on the timetable: more than half a day, so not a connection we count.