FR 6609 then W4 6014 at Madrid
Rabat → Madrid → Rome
Timetable, Madrid time
21:45FR 6609 from Rabat at the gate
20:40W4 6014 to Rome leaves the gate
22 h 55 apart on the timetable, overnight
W4 6014 leaves 22 h 55 after FR 6609 arrives on the timetable: more than half a day, so not a connection we count.