FR 2210 then FR 5686 at Madrid
Venezia → Madrid → Edinburgh
Timetable, Madrid time
23:25FR 2210 from Venezia at the gate
17:25FR 5686 to Edinburgh leaves the gate
18 h apart on the timetable, overnight
FR 5686 leaves 18 h after FR 2210 arrives on the timetable: more than half a day, so not a connection we count.