FR 6974 then IB 2334 at Barcelona
Rome → Barcelona → Badajoz
Timetable, Barcelona time
22:25FR 6974 from Rome at the gate
13:50IB 2334 to Badajoz leaves the gate
15 h 25 apart on the timetable, overnight
IB 2334 leaves 15 h 25 after FR 6974 arrives on the timetable: more than half a day, so not a connection we count.