FR 3877 then U2 7652 at Madrid
Tangier → Madrid → Lisbon
Timetable, Madrid time
09:30FR 3877 from Tangier at the gate
22:10U2 7652 to Lisbon leaves the gate
12 h 40 apart on the timetable
U2 7652 leaves 12 h 40 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.