SK 1585 then FR 8631 at Barcelona
Copenhagen → Barcelona → Tangier
Timetable, Barcelona time
18:20SK 1585 from Copenhagen at the gate
15:45FR 8631 to Tangier leaves the gate
21 h 25 apart on the timetable, overnight
FR 8631 leaves 21 h 25 after SK 1585 arrives on the timetable: more than half a day, so not a connection we count.