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