FR 5711 then FR 3189 at Barcelona
Napoli → Barcelona → Fes
Timetable, Barcelona time
19:50FR 5711 from Napoli at the gate
14:50FR 3189 to Fes leaves the gate
19 h apart on the timetable, overnight
FR 3189 leaves 19 h after FR 5711 arrives on the timetable: more than half a day, so not a connection we count.