EW 7520 then IB 2334 at Barcelona
Hamburg → Barcelona → Badajoz
Timetable, Barcelona time
16:20EW 7520 from Hamburg at the gate
12:40IB 2334 to Badajoz leaves the gatealso LL 3104
20 h 20 apart on the timetable, overnight
IB 2334 leaves 20 h 20 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.