EC 7102 then IB 2334 at Barcelona
Basel → Barcelona → Badajoz
Timetable, Barcelona time
14:40EC 7102 from Basel at the gate
13:50IB 2334 to Badajoz leaves the gate
23 h 10 apart on the timetable, overnight
IB 2334 leaves 23 h 10 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.