AZ 76 then FR 8631 at Barcelona
Rome → Barcelona → Tangier
Timetable, Barcelona time
15:55AZ 76 from Rome at the gate
05:55FR 8631 to Tangier leaves the gate
14 h apart on the timetable, overnight
FR 8631 leaves 14 h after AZ 76 arrives on the timetable: more than half a day, so not a connection we count.