FR 817 then FR 1023 at Dublin
Edinburgh → Dublin → Budapest
Timetable, Dublin time
19:00FR 817 from Edinburgh at the gate
08:35FR 1023 to Budapest leaves the gate
13 h 35 apart on the timetable, overnight
FR 1023 leaves 13 h 35 after FR 817 arrives on the timetable: more than half a day, so not a connection we count.