AZ 58 then FR 7157 at Madrid
Rome → Madrid → Dublin
Timetable, Madrid time
10:50AZ 58 from Rome at the gate
07:50FR 7157 to Dublin leaves the gate
21 h apart on the timetable, overnight
FR 7157 leaves 21 h after AZ 58 arrives on the timetable: more than half a day, so not a connection we count.