UX 1140 then FR 9602 at Madrid
Porto → Madrid → Rome
Timetable, Madrid time
18:15UX 1140 from Porto at the gate
09:20FR 9602 to Rome leaves the gate
15 h 05 apart on the timetable, overnight
FR 9602 leaves 15 h 05 after UX 1140 arrives on the timetable: more than half a day, so not a connection we count.