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