DY 4151 then DY 3400 at Copenhagen
Stockholm → Copenhagen → Agadir
Timetable, Copenhagen time
08:10DY 4151 from Stockholm at the gate
07:20DY 3400 to Agadir leaves the gate
23 h 10 apart on the timetable, overnight
DY 3400 leaves 23 h 10 after DY 4151 arrives on the timetable: more than half a day, so not a connection we count.