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