FR 5061 then FR 1740 at Dublin
Cagliari → Dublin → Valencia
Timetable, Dublin time
12:55FR 5061 from Cagliari at the gate
10:25FR 1740 to Valencia leaves the gate
21 h 30 apart on the timetable, overnight
FR 1740 leaves 21 h 30 after FR 5061 arrives on the timetable: more than half a day, so not a connection we count.