FR 7138 then FR 1768 at Lisbon
Dublin → Lisbon → Valencia
Timetable, Lisbon time
19:40FR 7138 from Dublin at the gate
14:45FR 1768 to Valencia leaves the gate
19 h 05 apart on the timetable, overnight
FR 1768 leaves 19 h 05 after FR 7138 arrives on the timetable: more than half a day, so not a connection we count.