FR 5998 then FR 3814 at Madrid
London Stansted → Madrid → Bologna
Timetable, Madrid time
00:20FR 5998 from London Stansted at the gate
12:45FR 3814 to Bologna leaves the gate
12 h 25 apart on the timetable
FR 3814 leaves 12 h 25 after FR 5998 arrives on the timetable: more than half a day, so not a connection we count.