FR 6613 then FR 9602 at Madrid
Rabat → Madrid → Rome
Timetable, Madrid time
16:35FR 6613 from Rabat at the gate
09:10FR 9602 to Rome leaves the gate
16 h 35 apart on the timetable, overnight
FR 9602 leaves 16 h 35 after FR 6613 arrives on the timetable: more than half a day, so not a connection we count.