FR 3952 then UX 1160 at Lisbon
Manchester → Lisbon → Madrid
Timetable, Lisbon time
20:55FR 3952 from Manchester at the gate
20:05UX 1160 to Madrid leaves the gate
23 h 10 apart on the timetable, overnight
UX 1160 leaves 23 h 10 after FR 3952 arrives on the timetable: more than half a day, so not a connection we count.