FR 5569 then FR 10 at Dublin
Rome → Dublin → Madrid
Timetable, Dublin time
13:25FR 5569 from Rome at the gate
10:00FR 10 to Madrid leaves the gate
20 h 35 apart on the timetable, overnight
FR 10 leaves 20 h 35 after FR 5569 arrives on the timetable: more than half a day, so not a connection we count.