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