FR 2607 then FR 1624 at Vienna
Valletta → Vienna → Edinburgh
Timetable, Vienna time
18:00FR 2607 from Valletta at the gate
10:35FR 1624 to Edinburgh leaves the gate
16 h 35 apart on the timetable, overnight
FR 1624 leaves 16 h 35 after FR 2607 arrives on the timetable: more than half a day, so not a connection we count.