U2 3209 then FR 2436 at Madrid
Edinburgh → Madrid → Rome
Timetable, Madrid time
15:45U2 3209 from Edinburgh at the gate
14:25FR 2436 to Rome leaves the gate
22 h 40 apart on the timetable, overnight
FR 2436 leaves 22 h 40 after U2 3209 arrives on the timetable: more than half a day, so not a connection we count.