QR 3743 then IB 2334 at Barcelona
Milan → Barcelona → Badajoz
Timetable, Barcelona time
14:55QR 3743 from Milan at the gate
14:00IB 2334 to Badajoz leaves the gatealso LL 3104
23 h 05 apart on the timetable, overnight
IB 2334 leaves 23 h 05 after QR 3743 arrives on the timetable: more than half a day, so not a connection we count.