FR 7241 then FR 1740 at Dublin
Madrid → Dublin → Valencia
Timetable, Dublin time
11:40FR 7241 from Madrid at the gate
10:25FR 1740 to Valencia leaves the gate
22 h 45 apart on the timetable, overnight
FR 1740 leaves 22 h 45 after FR 7241 arrives on the timetable: more than half a day, so not a connection we count.