U2 2305 then UX 1047 at Madrid
London Luton → Madrid → Rome
Timetable, Madrid time
19:55U2 2305 from London Luton at the gate
15:00UX 1047 to Rome leaves the gate
19 h 05 apart on the timetable, overnight
UX 1047 leaves 19 h 05 after U2 2305 arrives on the timetable: more than half a day, so not a connection we count.