PU 302 then FR 3876 at Madrid
Lima → Madrid → Tangier
Timetable, Madrid time
12:45PU 302 from Lima at the gate
06:15FR 3876 to Tangier leaves the gate
17 h 30 apart on the timetable, overnight
FR 3876 leaves 17 h 30 after PU 302 arrives on the timetable: more than half a day, so not a connection we count.