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