FR 3877 then W4 6314 at Madrid
Tangier → Madrid → Milan
Timetable, Madrid time
09:30FR 3877 from Tangier at the gate
23:10W4 6314 to Milan leaves the gate
13 h 40 apart on the timetable
W4 6314 leaves 13 h 40 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.