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