UX 1157 then FR 1768 at Lisbon
Madrid → Lisbon → Valencia
Timetable, Lisbon time
19:15UX 1157 from Madrid at the gate
12:25FR 1768 to Valencia leaves the gate
17 h 10 apart on the timetable, overnight
FR 1768 leaves 17 h 10 after UX 1157 arrives on the timetable: more than half a day, so not a connection we count.