FR 8385 then FR 58 at Barcelona
Budapest → Barcelona → Napoli
Timetable, Barcelona time
18:00FR 8385 from Budapest at the gate
13:25FR 58 to Napoli leaves the gate
19 h 25 apart on the timetable, overnight
FR 58 leaves 19 h 25 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.