U2 7676 then FR 9904 at Lisbon
Marrakesh → Lisbon → Rome
Timetable, Lisbon time
23:05U2 7676 from Marrakesh at the gate
16:40FR 9904 to Rome leaves the gate
17 h 35 apart on the timetable, overnight
FR 9904 leaves 17 h 35 after U2 7676 arrives on the timetable: more than half a day, so not a connection we count.