EW 7520 then LA 5747 at Barcelona
Hamburg → Barcelona → Bilbao
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
12:50LA 5747 to Bilbao leaves the gate
18 h 05 apart on the timetable, overnight
LA 5747 leaves 18 h 05 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.