FR 5562 then FR 812 at Dublin
Glasgow → Dublin → Edinburgh
Timetable, Dublin time
20:25FR 5562 from Glasgow at the gate
16:50FR 812 to Edinburgh leaves the gate
20 h 25 apart on the timetable, overnight
FR 812 leaves 20 h 25 after FR 5562 arrives on the timetable: more than half a day, so not a connection we count.