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