FR 10 then IB 2332 at Madrid
Dublin → Madrid → Badajoz
Timetable, Madrid time
23:55FR 10 from Dublin at the gate
17:55IB 2332 to Badajoz leaves the gatealso AT 5350
18 h apart on the timetable, overnight
IB 2332 leaves 18 h after FR 10 arrives on the timetable: more than half a day, so not a connection we count.