UX 1082 then FR 5686 at Madrid
Venezia → Madrid → Edinburgh
Timetable, Madrid time
13:05UX 1082 from Venezia at the gatealso MU 4983
10:20FR 5686 to Edinburgh leaves the gate
21 h 15 apart on the timetable, overnight
FR 5686 leaves 21 h 15 after UX 1082 arrives on the timetable: more than half a day, so not a connection we count.