EW 7520 then IB 5476 at Barcelona
Hamburg → Barcelona → Jerez de la Forntera
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
12:15IB 5476 to Jerez de la Forntera leaves the gate
17 h 30 apart on the timetable, overnight
IB 5476 leaves 17 h 30 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.