EW 7520 then LA 5758 at Barcelona
Hamburg → Barcelona → Rome
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
14:40LA 5758 to Rome leaves the gate
19 h 55 apart on the timetable, overnight
LA 5758 leaves 19 h 55 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.