FR 3181 then FR 58 at Barcelona
Rome → Barcelona → Napoli
Timetable, Barcelona time
15:05FR 3181 from Rome at the gate
13:25FR 58 to Napoli leaves the gate
22 h 20 apart on the timetable, overnight
FR 58 leaves 22 h 20 after FR 3181 arrives on the timetable: more than half a day, so not a connection we count.