EC 3749 then IB 2334 at Barcelona
Milan → Barcelona → Badajoz
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
13:50IB 2334 to Badajoz leaves the gate
16 h 20 apart on the timetable, overnight
IB 2334 leaves 16 h 20 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.