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