FR 6875 then FR 8631 at Barcelona
Dublin → Barcelona → Tangier
Timetable, Barcelona time
09:35FR 6875 from Dublin at the gate
05:55FR 8631 to Tangier leaves the gate
20 h 20 apart on the timetable, overnight
FR 8631 leaves 20 h 20 after FR 6875 arrives on the timetable: more than half a day, so not a connection we count.