FR 9796 then FR 3077 at Arlanda
Marrakesh → Stockholm → Barcelona
Timetable, Stockholm time
00:50FR 9796 from Marrakesh at the gate
16:15FR 3077 to Barcelona leaves the gate
15 h 25 apart on the timetable
FR 3077 leaves 15 h 25 after FR 9796 arrives on the timetable: more than half a day, so not a connection we count.