U2 7676 then TP 1020 at Lisbon
Marrakesh → Lisbon → Madrid
Timetable, Lisbon time
23:05U2 7676 from Marrakesh at the gate
18:00TP 1020 to Madrid leaves the gatealso AV 2505
18 h 55 apart on the timetable, overnight
TP 1020 leaves 18 h 55 after U2 7676 arrives on the timetable: more than half a day, so not a connection we count.