FR 7156 then LA 1718 at Madrid
Dublin → Madrid → Valencia
Timetable, Madrid time
23:45FR 7156 from Dublin at the gate
16:05LA 1718 to Valencia leaves the gatealso AT 5440
16 h 20 apart on the timetable, overnight
LA 1718 leaves 16 h 20 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.