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