EW 7520 then VY 3502 at Barcelona
Hamburg → Barcelona → Ibiza
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
12:10VY 3502 to Ibiza leaves the gatealso LL 5246
17 h 25 apart on the timetable, overnight
VY 3502 leaves 17 h 25 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.