U2 7676 then EC 7681 at Lisbon
Marrakesh → Lisbon → Barcelona
Timetable, Lisbon time
22:50U2 7676 from Marrakesh at the gate
19:00EC 7681 to Barcelona leaves the gate
20 h 10 apart on the timetable, overnight
EC 7681 leaves 20 h 10 after U2 7676 arrives on the timetable: more than half a day, so not a connection we count.