UX 7311 then FR 5315 at Madrid
Vigo → Madrid → Rome
Timetable, Madrid time
09:40UX 7311 from Vigo at the gate
08:55FR 5315 to Rome leaves the gate
23 h 15 apart on the timetable, overnight
FR 5315 leaves 23 h 15 after UX 7311 arrives on the timetable: more than half a day, so not a connection we count.