FR 2437 then FR 3814 at Madrid
Rome → Madrid → Bologna
Timetable, Madrid time
09:00FR 2437 from Rome at the gate
22:10FR 3814 to Bologna leaves the gate
13 h 10 apart on the timetable
FR 3814 leaves 13 h 10 after FR 2437 arrives on the timetable: more than half a day, so not a connection we count.