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