FR 5044 then FR 2023 at Dublin
Hamburg → Dublin → Krakow
Timetable, Dublin time
11:35FR 5044 from Hamburg at the gate
05:45FR 2023 to Krakow leaves the gate
18 h 10 apart on the timetable, overnight
FR 2023 leaves 18 h 10 after FR 5044 arrives on the timetable: more than half a day, so not a connection we count.