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