EC 4795 then FR 9602 at Madrid
Nantes → Madrid → Rome
Timetable, Madrid time
13:00EC 4795 from Nantes at the gate
07:40FR 9602 to Rome leaves the gate
18 h 40 apart on the timetable, overnight
FR 9602 leaves 18 h 40 after EC 4795 arrives on the timetable: more than half a day, so not a connection we count.