QR 4769 then FR 3876 at Madrid
Firenze → Madrid → Tangier
Timetable, Madrid time
14:05QR 4769 from Firenze at the gatealso IB 5786, VY 6036, AA 8866
06:15FR 3876 to Tangier leaves the gate
16 h 10 apart on the timetable, overnight
FR 3876 leaves 16 h 10 after QR 4769 arrives on the timetable: more than half a day, so not a connection we count.