FR 6814 then U2 7652 at Madrid
Manchester → Madrid → Lisbon
Timetable, Madrid time
23:55FR 6814 from Manchester at the gate
22:10U2 7652 to Lisbon leaves the gate
22 h 15 apart on the timetable, overnight
U2 7652 leaves 22 h 15 after FR 6814 arrives on the timetable: more than half a day, so not a connection we count.