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