IB 2331 then FR 3814 at Madrid
Badajoz → Madrid → Bologna
Timetable, Madrid time
10:45IB 2331 from Badajoz at the gate
07:50FR 3814 to Bologna leaves the gate
21 h 05 apart on the timetable, overnight
FR 3814 leaves 21 h 05 after IB 2331 arrives on the timetable: more than half a day, so not a connection we count.