FR 3877 then UX 5465 at Madrid
Tangier → Madrid → Seville
Timetable, Madrid time
22:35FR 3877 from Tangier at the gate
20:05UX 5465 to Seville leaves the gate
21 h 30 apart on the timetable, overnight
UX 5465 leaves 21 h 30 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.