AT 940 then FR 9601 at Fiumicino
Casablanca → Rome → Madrid
Timetable, Rome time
16:10AT 940 from Casablanca at the gate
09:00FR 9601 to Madrid leaves the gate
16 h 50 apart on the timetable, overnight
FR 9601 leaves 16 h 50 after AT 940 arrives on the timetable: more than half a day, so not a connection we count.