FR 2251 then DY 5502 at Barcelona
Marrakesh → Barcelona → Stockholm
Timetable, Barcelona time
20:35FR 2251 from Marrakesh at the gate
13:40DY 5502 to Stockholm leaves the gate
17 h 05 apart on the timetable, overnight
DY 5502 leaves 17 h 05 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.