FR 5061 then FR 2023 at Dublin
Cagliari → Dublin → Krakow
Timetable, Dublin time
12:55FR 5061 from Cagliari at the gate
06:55FR 2023 to Krakow leaves the gate
18 h apart on the timetable, overnight
FR 2023 leaves 18 h after FR 5061 arrives on the timetable: more than half a day, so not a connection we count.